|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.config.scheme.AbstractScheme
com.tangosol.coherence.config.scheme.DistributedScheme.BackupConfig
public static class DistributedScheme.BackupConfig
The DistributedScheme.BackupConfig
class manages configuration for the partitioned cache backup map.
Constructor Summary | |
---|---|
DistributedScheme.BackupConfig() |
Method Summary | |
---|---|
java.lang.String |
getBackupSchemeName(com.tangosol.config.expression.ParameterResolver resolver) Return the name of the caching scheme to use as a backup map. |
ParameterizedBuilder |
getCustomBuilder() Obtains the custom ParameterizedBuilder . |
java.lang.String |
getDirectory(com.tangosol.config.expression.ParameterResolver resolver) Return the root directory where the disk persistence manager stores files. |
int |
getInitialSize(com.tangosol.config.expression.ParameterResolver resolver) Return the initial buffer size in bytes for off-heap and file-mapped backup maps. |
int |
getMaximumSize(com.tangosol.config.expression.ParameterResolver resolver) Return the maximum buffer size in bytes for off-heap and file-mapped backup maps. |
int |
resolveType(com.tangosol.config.expression.ParameterResolver resolver, MapBuilder bldrPrimaryMap) Resolve the backup map type using the configuration specified by the application. |
void |
setBackupSchemeName(com.tangosol.config.expression.Expression expr) Set the name of the caching scheme to use as a backup map. |
void |
setCustomBuilder(ParameterizedBuilder bldr) Set the InstanceBuilder that builds the custom instance. |
void |
setDirectory(com.tangosol.config.expression.Expression expr) Set the root directory where the disk persistence manager stores files. |
void |
setInitialSize(com.tangosol.config.expression.Expression expr) Return the initial buffer size in bytes for off-heap and file-mapped backup maps. |
void |
setMaximumSize(com.tangosol.config.expression.Expression expr) Set the maximum buffer size in bytes for off-heap and file-mapped backup maps. |
void |
setType(com.tangosol.config.expression.Expression expr) Set the type of storage to hold the backup data. |
protected int |
translateType(java.lang.String sType) Translate the backup map type string. |
Methods inherited from class com.tangosol.coherence.config.scheme.AbstractScheme |
---|
getSchemeName, isAnonymous, setSchemeName, validate |
Constructor Detail |
---|
public DistributedScheme.BackupConfig()
Method Detail |
---|
public int resolveType(com.tangosol.config.expression.ParameterResolver resolver, MapBuilder bldrPrimaryMap)
resolveType
in interface BackupMapConfig
resolver
- the ParameterResolverbldrPrimaryMap
- the primary map builder which may be used to determine the backup typeBackingMapScheme
public java.lang.String getDirectory(com.tangosol.config.expression.ParameterResolver resolver)
getDirectory
in interface BackupMapConfig
resolver
- the ParameterResolver
@Injectable
public void setDirectory(com.tangosol.config.expression.Expression expr)
expr
- the directory namepublic int getInitialSize(com.tangosol.config.expression.ParameterResolver resolver)
getInitialSize
in interface BackupMapConfig
resolver
- the ParameterResolver
@Injectable
public void setInitialSize(com.tangosol.config.expression.Expression expr)
expr
- the initial buffer sizepublic int getMaximumSize(com.tangosol.config.expression.ParameterResolver resolver)
getMaximumSize
in interface BackupMapConfig
resolver
- the ParameterResolver
@Injectable
public void setMaximumSize(com.tangosol.config.expression.Expression expr)
expr
- the maximum buffer sizepublic java.lang.String getBackupSchemeName(com.tangosol.config.expression.ParameterResolver resolver)
AbstractScheme
class which self-identifies a scheme object.getBackupSchemeName
in interface BackupMapConfig
resolver
- the ParameterResolver
@Injectable(value="scheme-name")
public void setBackupSchemeName(com.tangosol.config.expression.Expression expr)
expr
- the scheme name
@Injectable
public void setType(com.tangosol.config.expression.Expression expr)
expr
- the maximum buffer sizepublic ParameterizedBuilder getCustomBuilder()
ParameterizedBuilder
.getCustomBuilder
in interface BuilderCustomization
ParameterizedBuilder
public void setCustomBuilder(ParameterizedBuilder bldr)
setCustomBuilder
in interface BuilderCustomization
bldr
- the InstanceBuilderprotected int translateType(java.lang.String sType)
sType
- the map typeBackingMapScheme
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |