public static class DynamicRegionFactory.Config extends Object
null
null
true
true
Modifier and Type | Field and Description |
---|---|
File |
diskDir
The directory where the factory's
persistBackup files are placed |
boolean |
persistBackup
Causes the factory to be persisted on disk.
|
String |
poolName
The ${link Pool} to be used by a client factory to communicate with the server-side factory.
|
boolean |
registerInterest
Causes regions created by the factory to register interest in all keys in a corresponding
server cache region
|
Constructor and Description |
---|
Config()
Creates a configuration with the default attributes.
|
Config(File diskDir,
String poolName)
Creates a configuration with defaults and the given diskDir and poolName.
|
Config(File diskDir,
String poolName,
boolean persistBackup,
boolean registerInterest)
Creates a configuration with the given attributes
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
File |
getDiskDir()
Returns the disk directory that the dynamic region factory data will be written to.
|
boolean |
getPersistBackup()
Returns true if the factory is persisted to disk; false if not.
|
String |
getPoolName()
Returns the name of the
Pool associated with the dynamic region factory. |
boolean |
getRegisterInterest()
Returns true if the region will register interest in all keys of a corresponding server cache
region
|
int |
hashCode() |
public final boolean persistBackup
diskDir
public final File diskDir
persistBackup
files are placedpublic final boolean registerInterest
public final String poolName
public Config()
public Config(File diskDir, String poolName)
diskDir
- the directory to which the region's data is writtenpoolName
- the name of the connection pool to usepublic Config(File diskDir, String poolName, boolean persistBackup, boolean registerInterest)
diskDir
- the directory to which the region's data is writtenpoolName
- the name of the connection pool to usepersistBackup
- boolean specifying if a persistent backup should be made of the regionregisterInterest
- whether regions created by the factory will register interest in all
keys in a corresponding server cache regionpublic boolean getPersistBackup()
public boolean getRegisterInterest()
public File getDiskDir()
persistBackup
is
true.