Class AbstractNioManagerBuilder<T>
java.lang.Object
com.tangosol.coherence.config.builder.storemanager.AbstractStoreManagerBuilder<T>
com.tangosol.coherence.config.builder.storemanager.AbstractNioManagerBuilder<T>
- All Implemented Interfaces:
BuilderCustomization<T>
,BinaryStoreManagerBuilder
- Direct Known Subclasses:
NioFileManagerBuilder
The AbstractNioManagerBuilder class is an abstract class used to build
an NIO file manager or an NIO memory manager.
- Since:
- Coherence 12.1.2
- Author:
- pfm 2011.11.30
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getInitialSize
(ParameterResolver resolver) Return the initial buffer size in bytes.long
getMaximumSize
(ParameterResolver resolver) Return the maximum buffer size in bytes.void
setInitialSize
(Expression<Megabytes> expr) Set the initial buffer size.void
setMaximumSize
(Expression<Megabytes> expr) Set the maximum buffer size.protected void
validate
(ParameterResolver resolver) Validate the builder.Methods inherited from class com.tangosol.coherence.config.builder.storemanager.AbstractStoreManagerBuilder
getCustomBuilder, setCustomBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.coherence.config.builder.storemanager.BinaryStoreManagerBuilder
realize
-
Constructor Details
-
AbstractNioManagerBuilder
public AbstractNioManagerBuilder()
-
-
Method Details
-
getInitialSize
Return the initial buffer size in bytes.- Parameters:
resolver
- the ParameterResolver- Returns:
- the initial buffer size in bytes
-
setInitialSize
Set the initial buffer size.- Parameters:
expr
- the initial buffer size
-
getMaximumSize
Return the maximum buffer size in bytes.- Parameters:
resolver
- the ParameterResolver- Returns:
- the maximum buffer size in bytes
-
setMaximumSize
Set the maximum buffer size.- Parameters:
expr
- the maximum buffer size
-
validate
Validate the builder.- Overrides:
validate
in classAbstractStoreManagerBuilder<T>
- Parameters:
resolver
- the ParameterResolver
-