public class BackupForBuilder extends AbstractConfigurationChildBuilder implements Builder<BackupForConfiguration>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
remoteCache |
private java.lang.String |
remoteSite |
Constructor and Description |
---|
BackupForBuilder(ConfigurationBuilder builder) |
Modifier and Type | Method and Description |
---|---|
BackupForConfiguration |
create()
Create the configuration bean
|
BackupForBuilder |
defaultRemoteCache()
Use this method if the remote cache that backups in this cache is the default cache.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Builder<?> |
read(BackupForConfiguration template)
Reads the configuration from an already created configuration bean into this builder.
|
BackupForBuilder |
remoteCache(java.lang.String name) |
BackupForBuilder |
remoteSite(java.lang.String siteName) |
void |
reset() |
java.lang.String |
toString() |
void |
validate()
Validate the data in this builder before building the configuration bean
|
build, clustering, compatibility, customInterceptors, dataContainer, deadlockDetection, eviction, expiration, getBuilder, indexing, invocationBatching, jmxStatistics, locking, persistence, security, sites, storeAsBinary, transaction, unsafe, versioning
private java.lang.String remoteCache
private java.lang.String remoteSite
public BackupForBuilder(ConfigurationBuilder builder)
public BackupForBuilder remoteSite(java.lang.String siteName)
siteName
- the name of the remote site that backups data into this cache.public BackupForBuilder remoteCache(java.lang.String name)
name
- the name of the remote cache that backups data into this cache.public BackupForBuilder defaultRemoteCache()
public void validate()
Builder
validate
in interface Builder<BackupForConfiguration>
public BackupForConfiguration create()
Builder
create
in interface Builder<BackupForConfiguration>
public Builder<?> read(BackupForConfiguration template)
Builder
read
in interface Builder<BackupForConfiguration>
template
- the configuration from which to "clone" this config if needed.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void reset()