Skip navigation links
A B C D E F G H I J K L M N O P R S T V Z 

A

alwaysWrite(boolean) - Method in class net.derquinse.bocas.GuavaCachingBocasBuilder
Specifies whether writes are always propagated to the source service.

B

basic(String) - Static method in class net.derquinse.bocas.je.JEBocasServices
Creates a new bucket based on a basic environment in the provided directory.
Bocas - Interface in net.derquinse.bocas
Interface for a Bocas repository bucket.
BocasClientFactory - Class in net.derquinse.bocas.jersey.client
Factory for Bocas repository clients based on Jersey (JAX-RS).
BocasDecorator - Interface in net.derquinse.bocas
Interface for a bocas bucket decorator.
BocasException - Exception in net.derquinse.bocas
Base class for Bocas repository exceptions.
BocasException() - Constructor for exception net.derquinse.bocas.BocasException
 
BocasException(String, Throwable) - Constructor for exception net.derquinse.bocas.BocasException
 
BocasException(String) - Constructor for exception net.derquinse.bocas.BocasException
 
BocasException(Throwable) - Constructor for exception net.derquinse.bocas.BocasException
 
BocasHashFunction - Class in net.derquinse.bocas
Abstraction for a Bocas hash function.
BocasPreconditions - Class in net.derquinse.bocas
Additional preconditions.
BocasResource - Class in net.derquinse.bocas.jersey.server
Bocas bucket JAX-RS resource.
BocasResource(Bocas, MemoryByteSourceLoader) - Constructor for class net.derquinse.bocas.jersey.server.BocasResource
Constructor.
BocasResources - Class in net.derquinse.bocas.jersey
Resource constants for Bocas RESTful API.
BocasService - Interface in net.derquinse.bocas
Interface for a bocas service.
BocasServiceResource - Class in net.derquinse.bocas.jersey.server
Bocas repository JAX-RS resource.
BocasServiceResource(BocasService, MemoryByteSourceLoader) - Constructor for class net.derquinse.bocas.jersey.server.BocasServiceResource
Constructor.
BocasServices - Class in net.derquinse.bocas
Factory class for bocas repositories and buckets.
build(BocasService) - Method in class net.derquinse.bocas.GuavaCachingBocasBuilder
Builds a cache.
build(DataSource) - Method in class net.derquinse.bocas.jdbc.JDBCBocasBuilder
Builds a new bucket.
build(String) - Method in class net.derquinse.bocas.je.JEBocasBuilder
Builds a new bucket.
build() - Method in class net.derquinse.bocas.MultiServiceGuavaCacheBuilder
Builds a cache.

C

cache() - Static method in class net.derquinse.bocas.BocasServices
Creates a new caching repository builder.
CachingBocasService - Interface in net.derquinse.bocas
Interface for a caching bocas repository.
CATALOG - Static variable in class net.derquinse.bocas.jersey.BocasResources
Catalog resource.
checkHash(BocasHashFunction) - Static method in class net.derquinse.bocas.BocasPreconditions
Checks the hash function is provided.
checkKey(ByteString) - Static method in class net.derquinse.bocas.jersey.BocasResources
Turns a non-null key into a string.
checkLoader(MemoryByteSourceLoader) - Static method in class net.derquinse.bocas.BocasPreconditions
Checks the memory loader is provided.
close() - Method in interface net.derquinse.bocas.Bocas
Closes the bucket so it cannot be used again.
close() - Method in class net.derquinse.bocas.ForwardingBocas
 
contained(Iterable<ByteString>) - Method in interface net.derquinse.bocas.Bocas
Returns the subset of the provided keys that are contained in the repository.
contained(Iterable<ByteString>) - Method in class net.derquinse.bocas.ForwardingBocas
 
contains(ByteString) - Method in interface net.derquinse.bocas.Bocas
Returns whether the repository contains the provided key.
contains(ByteString) - Method in class net.derquinse.bocas.ForwardingBocas
 
containsObject(Request, String) - Method in class net.derquinse.bocas.jersey.server.BocasResource
 
containsObjects(List<String>) - Method in class net.derquinse.bocas.jersey.server.BocasResource
 
containsObjects(String) - Method in class net.derquinse.bocas.jersey.server.BocasResource
 
create() - Static method in class net.derquinse.bocas.jersey.client.BocasClientFactory
Creates a new factory.

D

decorate(String, Bocas) - Method in interface net.derquinse.bocas.BocasDecorator
Decorates a bucket.
decorate(BocasService, BocasDecorator) - Static method in class net.derquinse.bocas.BocasServices
Decorates an existing service.
decorate(BocasService) - Method in class net.derquinse.bocas.MultiServiceGuavaCache
Decorates a service, adding it to the cache.
delegate() - Method in class net.derquinse.bocas.ForwardingBocas
Returns the backing delegate instance that methods are forwarded to.
delegate() - Method in class net.derquinse.bocas.ZipBocas
 
dialect(JDBCBocasDialect) - Method in class net.derquinse.bocas.jdbc.JDBCBocasBuilder
Sets the dialect to use.
direct() - Method in class net.derquinse.bocas.je.JEBocasBuilder
Specifies that direct memory should be used.

E

expireAfterAccess(long, TimeUnit) - Method in class net.derquinse.bocas.GuavaCachingBocasBuilder
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.
expireAfterAccess(long, TimeUnit) - Method in class net.derquinse.bocas.MultiServiceGuavaCacheBuilder
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.

F

ForwardingBocas - Class in net.derquinse.bocas
A bocas bucket that forwards all its method calls to another.
ForwardingBocas() - Constructor for class net.derquinse.bocas.ForwardingBocas
Constructor to use by subclasses.

G

GCSBocas - Class in net.derquinse.bocas.gcs
Factory class for Bocas repositories based on Google Cloud Storage.
get(ByteString) - Method in interface net.derquinse.bocas.Bocas
Returns the object for the provided key.
get(Iterable<ByteString>) - Method in interface net.derquinse.bocas.Bocas
Returns the objects for a collection of keys.
get(String) - Static method in class net.derquinse.bocas.BocasHashFunction
Returns a hash function by name.
get(ByteString) - Method in class net.derquinse.bocas.ForwardingBocas
 
get(Iterable<ByteString>) - Method in class net.derquinse.bocas.ForwardingBocas
 
get(URI, MemoryByteSourceLoader) - Method in class net.derquinse.bocas.jersey.client.BocasClientFactory
Creates a new repository client.
get() - Method in class net.derquinse.bocas.jersey.server.BocasResource
Bucket existance.
getBucket(String) - Method in interface net.derquinse.bocas.BocasService
Returns the bucket with the requested name.
getBucket(String) - Method in class net.derquinse.bocas.jersey.server.BocasServiceResource
 
getFunctions() - Static method in class net.derquinse.bocas.BocasHashFunction
Returns the available functions.
getHashFunction() - Method in interface net.derquinse.bocas.Bocas
Returns the hash function being used.
getHashFunction() - Method in class net.derquinse.bocas.ForwardingBocas
 
getHashFunction() - Method in class net.derquinse.bocas.SkeletalBocas
 
getObject(Request, String) - Method in class net.derquinse.bocas.jersey.server.BocasResource
 
getObjects(List<String>) - Method in class net.derquinse.bocas.jersey.server.BocasResource
 
getObjects(String) - Method in class net.derquinse.bocas.jersey.server.BocasResource
 
GuavaCachingBocasBuilder - Class in net.derquinse.bocas
Builder for caching bocas repositories based on Guava.

H

hash(ByteSource) - Method in class net.derquinse.bocas.BocasHashFunction
Hashes a value.
HASH - Static variable in class net.derquinse.bocas.jersey.BocasResources
Hash function resource.
hash() - Method in class net.derquinse.bocas.jersey.server.BocasResource
Bucket hash function.
hashFunction(BocasHashFunction) - Method in class net.derquinse.bocas.jdbc.JDBCBocasBuilder
Sets the hash function to use.
hashFunction(BocasHashFunction) - Method in class net.derquinse.bocas.je.JEBocasBuilder
Sets the hash function to use.

I

iterable2String(Iterable<ByteString>) - Static method in class net.derquinse.bocas.jersey.BocasResources
Turns a collection of keys into a string.

J

JDBCBocasBuilder - Class in net.derquinse.bocas.jdbc
Builder class for Bocas buckets based on JDBC.
JDBCBocasDialect - Enum in net.derquinse.bocas.jdbc
JDBC Dialects for Bocas repositories.
JDBCBocasServices - Class in net.derquinse.bocas.jdbc
Factory class for Bocas buckets based on JDBC.
JEBocasBuilder - Class in net.derquinse.bocas.je
Builder class for Bocas buckets based on Berkeley DB Java Edition.
JEBocasServices - Class in net.derquinse.bocas.je
Factory class for Bocas buckets based on Berkeley DB Java Edition.

K

KEY - Static variable in class net.derquinse.bocas.jersey.BocasResources
Key query parameter.
KEY_SPLITTER - Static variable in class net.derquinse.bocas.jersey.BocasResources
Key response splitter.

L

loader(MemoryByteSourceLoader) - Method in class net.derquinse.bocas.GuavaCachingBocasBuilder
Specifies the memory loader tu use.
loader(MemoryByteSourceLoader) - Method in class net.derquinse.bocas.jdbc.JDBCBocasBuilder
Sets the value loader to use.
loader(MemoryByteSourceLoader) - Method in class net.derquinse.bocas.MultiServiceGuavaCacheBuilder
Specifies the memory loader tu use.

M

maximumSize(long) - Method in class net.derquinse.bocas.GuavaCachingBocasBuilder
Specifies the maximum number of entries the cache may contain.
maximumSize(long) - Method in class net.derquinse.bocas.MultiServiceGuavaCacheBuilder
Specifies the maximum number of entries the cache may contain.
maximumWeight(long) - Method in class net.derquinse.bocas.GuavaCachingBocasBuilder
Specifies the maximum weight of entries the cache may contain.
maximumWeight(long) - Method in class net.derquinse.bocas.MultiServiceGuavaCacheBuilder
Specifies the maximum weight of entries the cache may contain.
memoryBucket(BocasHashFunction, MemoryByteSourceLoader) - Static method in class net.derquinse.bocas.BocasServices
Creates a new memory based bucket.
multiServiceCache() - Static method in class net.derquinse.bocas.BocasServices
Creates a new builder for a cache shared among multiple services.
MultiServiceGuavaCache - Class in net.derquinse.bocas
Guava-based cache shared for multiple services.
MultiServiceGuavaCacheBuilder - Class in net.derquinse.bocas
Builder for a Guava-based cache for multiple services.

N

name() - Method in class net.derquinse.bocas.BocasHashFunction
Returns the function name.
net.derquinse.bocas - package net.derquinse.bocas
 
net.derquinse.bocas.gcs - package net.derquinse.bocas.gcs
 
net.derquinse.bocas.jdbc - package net.derquinse.bocas.jdbc
 
net.derquinse.bocas.je - package net.derquinse.bocas.je
 
net.derquinse.bocas.jersey - package net.derquinse.bocas.jersey
 
net.derquinse.bocas.jersey.client - package net.derquinse.bocas.jersey.client
 
net.derquinse.bocas.jersey.server - package net.derquinse.bocas.jersey.server
 
newBuilder() - Static method in class net.derquinse.bocas.jdbc.JDBCBocasServices
Creates a new bucket builder.
newBuilder() - Static method in class net.derquinse.bocas.je.JEBocasServices
Creates a new bucket builder.

O

of(Bocas) - Static method in class net.derquinse.bocas.ZipBocas
Decorates an existing bucket with zip file support.

P

put(ByteSource) - Method in interface net.derquinse.bocas.Bocas
Puts a value into the repository.
put(ByteSource) - Method in class net.derquinse.bocas.ForwardingBocas
 
put(ByteSource) - Method in class net.derquinse.bocas.SkeletalBocas
 
put(ByteString, T) - Method in class net.derquinse.bocas.SkeletalBocas
Puts an entry into the bucket.
putAll(Iterable<? extends ByteSource>) - Method in interface net.derquinse.bocas.Bocas
Puts some values into the repository in a single operation.
putAll(Iterable<? extends ByteSource>) - Method in class net.derquinse.bocas.ForwardingBocas
 
putAll(Iterable<? extends ByteSource>) - Method in class net.derquinse.bocas.SkeletalBocas
 
putAll(Map<ByteString, T>) - Method in class net.derquinse.bocas.SkeletalBocas
Puts a collection of entries into the bucket.
putObject(InputStream) - Method in class net.derquinse.bocas.jersey.server.BocasResource
 
putObjects(MultiPart) - Method in class net.derquinse.bocas.jersey.server.BocasResource
 
putZip(LoadedZipFile) - Method in class net.derquinse.bocas.ZipBocas
Puts a loaded zip file into the repository.
putZipAndGZip(LoadedZipFile) - Method in class net.derquinse.bocas.ZipBocas
Puts a loaded zip file into the repository trying to compress them individually with gzip.

R

readOnly() - Method in class net.derquinse.bocas.je.JEBocasBuilder
Specifies that the database used should be read only.
response2List(String) - Static method in class net.derquinse.bocas.jersey.BocasResources
Turns a text/plain response into a list of keys.

S

seeded(Bocas, Bocas) - Static method in class net.derquinse.bocas.BocasServices
Creates a new bocas bucket that fetches entries missing in the primary bucket from the provided seed.
service(String, File, BocasHashFunction, MemoryByteSourceLoader) - Static method in class net.derquinse.bocas.gcs.GCSBocas
Creates a new service using service account authentication.
setCacheSize(long) - Method in class net.derquinse.bocas.je.JEBocasBuilder
Sets the cache size.
setCacheSizeMB(long) - Method in class net.derquinse.bocas.je.JEBocasBuilder
Sets the cache size.
setFileSize(long) - Method in class net.derquinse.bocas.je.JEBocasBuilder
Sets the log file size.
setFileSizeMB(int) - Method in class net.derquinse.bocas.je.JEBocasBuilder
Sets the log file size.
sha256() - Static method in class net.derquinse.bocas.BocasHashFunction
Returns the SHA-256 function.
shared(Bocas, Predicate<String>) - Static method in class net.derquinse.bocas.BocasServices
Creates a new service that shares a single bucket among several names.
shared(Bocas) - Static method in class net.derquinse.bocas.BocasServices
Creates a new service that shares a single bucket for every possible bucket name..
shared() - Method in class net.derquinse.bocas.GuavaCachingBocasBuilder
Specifies if the cached values will be shared among the available buckets.
shared() - Method in class net.derquinse.bocas.je.JEBocasBuilder
Specifies that the shared cache should be used.
SimpleSkeletalBocas - Class in net.derquinse.bocas
Skeletal bucket implementation with no ByteSource transformation.
SimpleSkeletalBocas(BocasHashFunction) - Constructor for class net.derquinse.bocas.SimpleSkeletalBocas
Constructor.
SkeletalBocas<T extends ByteSource> - Class in net.derquinse.bocas
Base class for bucket implementations.
SkeletalBocas(BocasHashFunction) - Constructor for class net.derquinse.bocas.SkeletalBocas
Constructor.
stats() - Method in interface net.derquinse.bocas.CachingBocasService
Returns the cache statistics.
syncReplica(Bocas, Bocas, boolean) - Static method in class net.derquinse.bocas.BocasServices
Creates a new bocas bucket that synchronously replicates writes to the primary bucket into a replica.
syncReplica(BocasService, BocasService, boolean) - Static method in class net.derquinse.bocas.BocasServices
Creates a new bocas service that synchronously replicates writes to the primary service buckets into the replica buckets.

T

transform(ByteSource) - Method in class net.derquinse.bocas.SimpleSkeletalBocas
 
transform(ByteSource) - Method in class net.derquinse.bocas.SkeletalBocas
Transforms a byte source before putting it.

V

valueOf(String) - Static method in enum net.derquinse.bocas.jdbc.JDBCBocasDialect
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.derquinse.bocas.jdbc.JDBCBocasDialect
Returns an array containing the constants of this enum type, in the order they are declared.

Z

ZipBocas - Class in net.derquinse.bocas
Bocas bucket decorator with zip file support.
A B C D E F G H I J K L M N O P R S T V Z 
Skip navigation links

Copyright © 2014 Derquinse Projects. All rights reserved.