Class AsyncStoreManagerBuilder
java.lang.Object
com.tangosol.coherence.config.builder.storemanager.AbstractStoreManagerBuilder<AsyncBinaryStoreManager>
com.tangosol.coherence.config.builder.storemanager.AsyncStoreManagerBuilder
- All Implemented Interfaces:
BuilderCustomization<AsyncBinaryStoreManager>,BinaryStoreManagerBuilder,BinaryStoreManagerBuilderCustomization
public class AsyncStoreManagerBuilder
extends AbstractStoreManagerBuilder<AsyncBinaryStoreManager>
implements BinaryStoreManagerBuilderCustomization
The AsyncStoreManagerBuilder class builds and instance of an
AsyncBinaryStoreManager.
- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.11.30
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetAsyncLimit(ParameterResolver resolver) Return the maximum number of bytes that are queued to be written asynchronously.Obtains theBinaryStoreManagerBuilderfor theBinaryStoreManager.realize(ParameterResolver resolver, ClassLoader loader, boolean fPaged) Realize aBinaryStoreManagergiven the provided parameters.voidsetAsyncLimit(Expression<Bytes> expr) Set the maximum number of bytes that are queued to be written asynchronously.voidSets theBinaryStoreManagerBuilderfor theBinaryStoreManager.protected voidvalidate(ParameterResolver resolver) Validate the builder.Methods inherited from class com.tangosol.coherence.config.builder.storemanager.AbstractStoreManagerBuilder
getCustomBuilder, setCustomBuilder
-
Constructor Details
-
AsyncStoreManagerBuilder
public AsyncStoreManagerBuilder()
-
-
Method Details
-
realize
Realize aBinaryStoreManagergiven the provided parameters.- Specified by:
realizein interfaceBinaryStoreManagerBuilder- Parameters:
resolver- theParameterResolverfor resolving expressions and runtime parametersloader- theClassLoaderfor loading classes (if necessary)fPaged- the flag indicating whether the map is paged- Returns:
- a
BinaryStoreManager
-
getBinaryStoreManagerBuilder
Obtains theBinaryStoreManagerBuilderfor theBinaryStoreManager.- Specified by:
getBinaryStoreManagerBuilderin interfaceBinaryStoreManagerBuilderCustomization- Returns:
- the
BinaryStoreManagerBuilder
-
setBinaryStoreManagerBuilder
Sets theBinaryStoreManagerBuilderfor theBinaryStoreManager.- Specified by:
setBinaryStoreManagerBuilderin interfaceBinaryStoreManagerBuilderCustomization- Parameters:
bldr- theBinaryStoreManagerBuilder
-
getAsyncLimit
Return the maximum number of bytes that are queued to be written asynchronously.- Parameters:
resolver- the ParameterResolver- Returns:
- the memory limit
-
setAsyncLimit
Set the maximum number of bytes that are queued to be written asynchronously.- Parameters:
expr- the memory limit
-
validate
Validate the builder.- Overrides:
validatein classAbstractStoreManagerBuilder<AsyncBinaryStoreManager>- Parameters:
resolver- the ParameterResolver
-