public class SyncConfigurationBuilder extends AbstractClusteringConfigurationChildBuilder implements Builder<SyncConfiguration>
Modifier and Type | Field and Description |
---|---|
private long |
replTimeout |
Modifier | Constructor and Description |
---|---|
protected |
SyncConfigurationBuilder(ClusteringConfigurationBuilder builder) |
Modifier and Type | Method and Description |
---|---|
SyncConfiguration |
create()
Create the configuration bean
|
SyncConfigurationBuilder |
read(SyncConfiguration template)
Reads the configuration from an already created configuration bean into this builder.
|
SyncConfigurationBuilder |
replTimeout(long l)
This is the timeout used to wait for an acknowledgment when making a remote call, after which
the call is aborted and an exception is thrown.
|
SyncConfigurationBuilder |
replTimeout(long l,
java.util.concurrent.TimeUnit unit)
This is the timeout used to wait for an acknowledgment when making a remote call, after which
the call is aborted and an exception is thrown.
|
java.lang.String |
toString() |
void |
validate()
Validate the data in this builder before building the configuration bean
|
async, getClusteringBuilder, hash, l1, stateTransfer, sync
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, getBuilder, indexing, invocationBatching, jmxStatistics, locking, persistence, security, sites, storeAsBinary, transaction, unsafe, versioning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, indexing, invocationBatching, jmxStatistics, locking, persistence, security, sites, storeAsBinary, transaction, unsafe, versioning
protected SyncConfigurationBuilder(ClusteringConfigurationBuilder builder)
public SyncConfigurationBuilder replTimeout(long l)
public SyncConfigurationBuilder replTimeout(long l, java.util.concurrent.TimeUnit unit)
public void validate()
Builder
validate
in interface Builder<SyncConfiguration>
public SyncConfiguration create()
Builder
create
in interface Builder<SyncConfiguration>
public SyncConfigurationBuilder read(SyncConfiguration template)
Builder
read
in interface Builder<SyncConfiguration>
template
- the configuration from which to "clone" this config if needed.public java.lang.String toString()
toString
in class java.lang.Object