public abstract class ReplicableObjectConfiguration extends Object
Constructor and Description |
---|
ReplicableObjectConfiguration(Replication replication,
Replication asyncReplication)
Creates a particular configuration for a distributed replicable object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Replication |
getAsyncReplication()
Gets the asynchronous replication.
|
Replication |
getReplication()
Gets the synchronous replication.
|
int |
hashCode() |
String |
toString() |
public ReplicableObjectConfiguration(Replication replication, Replication asyncReplication) throws NullPointerException
An update waits for all synchronous backups to succeed. An update does not wait for asynchronous backups.
replication
- synchronous replicationasyncReplication
- asynchronous replicationNullPointerException
- if either replication
or
asyncReplication
is null
public Replication getReplication()
An update waits for all synchronous backups to succeed. An update does not wait for asynchronous backups.
public Replication getAsyncReplication()
An update waits for all synchronous backups to succeed. An update does not wait for asynchronous backups.
Copyright © 2016. All Rights Reserved.