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
-
Method Summary
Modifier and TypeMethodDescriptionlong
getAsyncLimit
(ParameterResolver resolver) Return the maximum number of bytes that are queued to be written asynchronously.Obtains theBinaryStoreManagerBuilder
for theBinaryStoreManager
.realize
(ParameterResolver resolver, ClassLoader loader, boolean fPaged) Realize aBinaryStoreManager
given the provided parameters.void
setAsyncLimit
(Expression<Bytes> expr) Set the maximum number of bytes that are queued to be written asynchronously.void
Sets theBinaryStoreManagerBuilder
for theBinaryStoreManager
.protected void
validate
(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 aBinaryStoreManager
given the provided parameters.- Specified by:
realize
in interfaceBinaryStoreManagerBuilder
- Parameters:
resolver
- theParameterResolver
for resolving expressions and runtime parametersloader
- theClassLoader
for loading classes (if necessary)fPaged
- the flag indicating whether the map is paged- Returns:
- a
BinaryStoreManager
-
getBinaryStoreManagerBuilder
Obtains theBinaryStoreManagerBuilder
for theBinaryStoreManager
.- Specified by:
getBinaryStoreManagerBuilder
in interfaceBinaryStoreManagerBuilderCustomization
- Returns:
- the
BinaryStoreManagerBuilder
-
setBinaryStoreManagerBuilder
Sets theBinaryStoreManagerBuilder
for theBinaryStoreManager
.- Specified by:
setBinaryStoreManagerBuilder
in 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:
validate
in classAbstractStoreManagerBuilder<AsyncBinaryStoreManager>
- Parameters:
resolver
- the ParameterResolver
-