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
public abstract class AbstractNioManagerBuilder<T> extends AbstractStoreManagerBuilder<T>
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
Constructors Constructor Description AbstractNioManagerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
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
-
-
-
-
Method Detail
-
getInitialSize
public long getInitialSize(ParameterResolver resolver)
Return the initial buffer size in bytes.- Parameters:
resolver
- the ParameterResolver- Returns:
- the initial buffer size in bytes
-
setInitialSize
@Injectable public void setInitialSize(Expression<Megabytes> expr)
Set the initial buffer size.- Parameters:
expr
- the initial buffer size
-
getMaximumSize
public long getMaximumSize(ParameterResolver resolver)
Return the maximum buffer size in bytes.- Parameters:
resolver
- the ParameterResolver- Returns:
- the maximum buffer size in bytes
-
setMaximumSize
@Injectable public void setMaximumSize(Expression<Megabytes> expr)
Set the maximum buffer size.- Parameters:
expr
- the maximum buffer size
-
validate
protected void validate(ParameterResolver resolver)
Validate the builder.- Overrides:
validate
in classAbstractStoreManagerBuilder<T>
- Parameters:
resolver
- the ParameterResolver
-
-