public static class DynamicRegionFactory.Config extends Object
null
null
true
true
Modifier and Type | Field and Description |
---|---|
BridgeWriter |
bridgeWriter
The
BridgeWriter to be used by the factory to communicate with
the factory in its server. |
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 the 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 |
---|
DynamicRegionFactory.Config()
Creates a configuration with the default attributes.
|
DynamicRegionFactory.Config(File diskDir,
BridgeWriter bridgeWriter)
Deprecated.
use a pool name instead of a bridge writer
|
DynamicRegionFactory.Config(File diskDir,
BridgeWriter bridgeWriter,
boolean persistBackup)
Deprecated.
use a pool name instead of a bridge writer
|
DynamicRegionFactory.Config(File diskDir,
BridgeWriter bridgeWriter,
boolean persistBackup,
boolean registerInterest)
Deprecated.
use a pool name instead of a bridge writer
|
DynamicRegionFactory.Config(File diskDir,
String poolName,
boolean persistBackup,
boolean registerInterest)
Creates a configuration with the given attributes
|
Modifier and Type | Method and Description |
---|---|
BridgeWriter |
getBridgeWriter()
Returns the
BridgeWriter associated with the dynamic region factory. |
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
|
public final boolean persistBackup
diskDir
public final File diskDir
persistBackup
files are placedpublic final boolean registerInterest
public final BridgeWriter bridgeWriter
BridgeWriter
to be used by the factory to communicate with
the factory in its server.
Client factories must configure a BridgeWriter for their factory
and it must be configured to establish a callback connection.public final String poolName
public DynamicRegionFactory.Config()
@Deprecated public DynamicRegionFactory.Config(File diskDir, BridgeWriter bridgeWriter)
@Deprecated public DynamicRegionFactory.Config(File diskDir, BridgeWriter bridgeWriter, boolean persistBackup)
@Deprecated public DynamicRegionFactory.Config(File diskDir, BridgeWriter bridgeWriter, boolean persistBackup, boolean registerInterest)
public boolean getPersistBackup()
public boolean getRegisterInterest()
public File getDiskDir()
persistBackup
is true.public BridgeWriter getBridgeWriter()
BridgeWriter
associated with the dynamic region factory.
Returns null if there is no cache writer for dynamic regions.
A cache writer will only exist if this is a client and the cache writer connects to a server.Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.