protected void markInUse() throws IOException { for (String id : new ArrayList<String>(inUse.keySet())) { mark(id); } }
protected void markInUse() throws IOException { for (String id : new ArrayList<String>(inUse.keySet())) { mark(id); } }
protected void markInUse() throws IOException { for (String id : new ArrayList<String>(inUse.keySet())) { mark(id); } }
protected void mark(String blobId) throws IOException { try { byte[] id = StringUtils.convertHexToBytes(blobId); ByteArrayInputStream idStream = new ByteArrayInputStream(id); mark(idStream); } catch (Exception e) { throw new IOException("Mark failed for blob " + blobId, e); } }
protected void mark(String blobId) throws IOException { try { byte[] id = StringUtils.convertHexToBytes(blobId); ByteArrayInputStream idStream = new ByteArrayInputStream(id); mark(idStream); } catch (Exception e) { throw new IOException("Mark failed for blob " + blobId, e); } }
protected void mark(String blobId) throws IOException { try { byte[] id = StringUtils.convertHexToBytes(blobId); ByteArrayInputStream idStream = new ByteArrayInputStream(id); mark(idStream); } catch (Exception e) { throw new IOException("Mark failed for blob " + blobId, e); } }
@Test public void testIllegalIdentifier3() throws Exception { if (store instanceof AbstractBlobStore) { try { ((AbstractBlobStore) store).mark("ff"); fail(); } catch (Exception e) { // expected } } }
@Override public long getBlobLength(String blobId) throws IOException { if (isMarkEnabled()) { mark(blobId);
@Override public long getBlobLength(String blobId) throws IOException { if (isMarkEnabled()) { mark(blobId);
@Override public long getBlobLength(String blobId) throws IOException { if (isMarkEnabled()) { mark(blobId);
int length) throws IOException { if (isMarkEnabled()) { mark(blobId);
int length) throws IOException { if (isMarkEnabled()) { mark(blobId);
int length) throws IOException { if (isMarkEnabled()) { mark(blobId);
((AbstractBlobStore) store).mark(id); } else {