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 Constructor Description AsyncStoreManagerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAsyncLimit(ParameterResolver resolver)
Return the maximum number of bytes that are queued to be written asynchronously.BinaryStoreManagerBuilder
getBinaryStoreManagerBuilder()
Obtains theBinaryStoreManagerBuilder
for theBinaryStoreManager
.BinaryStoreManager
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
setBinaryStoreManagerBuilder(BinaryStoreManagerBuilder bldr)
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
-
-
-
-
Method Detail
-
realize
public BinaryStoreManager realize(ParameterResolver resolver, ClassLoader loader, boolean fPaged)
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
public BinaryStoreManagerBuilder getBinaryStoreManagerBuilder()
Obtains theBinaryStoreManagerBuilder
for theBinaryStoreManager
.- Specified by:
getBinaryStoreManagerBuilder
in interfaceBinaryStoreManagerBuilderCustomization
- Returns:
- the
BinaryStoreManagerBuilder
-
setBinaryStoreManagerBuilder
public void setBinaryStoreManagerBuilder(BinaryStoreManagerBuilder bldr)
Sets theBinaryStoreManagerBuilder
for theBinaryStoreManager
.- Specified by:
setBinaryStoreManagerBuilder
in interfaceBinaryStoreManagerBuilderCustomization
- Parameters:
bldr
- theBinaryStoreManagerBuilder
-
getAsyncLimit
public long getAsyncLimit(ParameterResolver resolver)
Return the maximum number of bytes that are queued to be written asynchronously.- Parameters:
resolver
- the ParameterResolver- Returns:
- the memory limit
-
setAsyncLimit
@Injectable public void setAsyncLimit(Expression<Bytes> expr)
Set the maximum number of bytes that are queued to be written asynchronously.- Parameters:
expr
- the memory limit
-
validate
protected void validate(ParameterResolver resolver)
Validate the builder.- Overrides:
validate
in classAbstractStoreManagerBuilder<AsyncBinaryStoreManager>
- Parameters:
resolver
- the ParameterResolver
-
-