@Test public void withCache() { assertNotNull(new SDSNodeIdProvider(session).withCache(cache).withCache(PathCache.empty())); }
@Override public SDSNodeIdProvider withCache(final Cache<Path> cache) { this.cache = cache; return this; }
SDSNodeIdProvider implements IdProvider { @Override public SDSNodeIdProvider withCache(final Cache<Path> cache) { this.cache = cache; return this; } }
SDSNodeIdProvider implements IdProvider { @Override public SDSNodeIdProvider withCache(final Cache<Path> cache) { this.cache = cache; return this; } SDSNodeIdProvider(final SDSSession session); }
SDSNodeIdProvider implements IdProvider { @Override public SDSNodeIdProvider withCache(final Cache<Path> cache) { this.cache = cache; return this; } SDSNodeIdProvider(final SDSSession session); @Override String getFileid(final Path file, final ListProgressListener listener); boolean isEncrypted(final Path file); ByteBuffer getFileKey(); ByteBuffer toBuffer(final FileKey fileKey); @Override SDSNodeIdProvider withCache(final Cache<Path> cache); }
SDSNodeIdProvider implements IdProvider { @Override public SDSNodeIdProvider withCache(final Cache<Path> cache) { this.cache = cache; return this; } SDSNodeIdProvider(final SDSSession session); @Override String getFileid(final Path file, final ListProgressListener listener); boolean isEncrypted(final Path file); ByteBuffer getFileKey(); ByteBuffer toBuffer(final FileKey fileKey); @Override SDSNodeIdProvider withCache(final Cache<Path> cache);  }