public interface ReplicaInfo extends IAdaptable
Modifier and Type | Interface and Description |
---|---|
static class |
ReplicaInfo.Priority |
Modifier and Type | Method and Description |
---|---|
Optional<DominoDateTime> |
getCutOff()
Replication cutoff date
|
int |
getCutOffInterval()
Automatic Replication Cutoff Interval (Days)
|
Database |
getParentDatabase()
Returns the database this replica info belongs to
|
ReplicaInfo.Priority |
getPriority()
Reads the current replication priority
|
String |
getReplicaID()
Returns the replica ID as hex encoded string with 16 characters
|
DominoDateTime |
getReplicaIDAsDate()
Returns the replication ID which is same for all replica files
|
Set<ReplicationFlags> |
getReplicationFlags() |
boolean |
isDesignHidden()
Checks if the database design is hidden
|
boolean |
isReplicationFlagSet(ReplicationFlags flag)
Returns true if a replication flag is set
|
void |
setCutOff(TemporalAccessor cutOff)
Sets the new cutoff date
|
void |
setCutOffInterval(int interval)
Sets the Automatic Replication Cutoff Interval (Days)
|
String |
setNewReplicaId()
Computes a new replica id and calls
setReplicaID(String) |
void |
setPriority(ReplicaInfo.Priority priority)
Changes the replication priority
|
void |
setReplicaID(String replicaId)
Method to set the replica ID as hex encoded string with 16 characters
|
void |
setReplicaIDAsDate(TemporalAccessor newID)
Sets the replication ID which is same for all replica files
|
void |
setReplicationFlag(ReplicationFlags flag,
boolean on)
Method to change a replication flag
|
getAdapter
Database getParentDatabase()
DominoDateTime getReplicaIDAsDate()
void setReplicaIDAsDate(TemporalAccessor newID)
newID
- new IDboolean isDesignHidden()
int getCutOffInterval()
void setCutOffInterval(int interval)
interval
- (WORD)Optional<DominoDateTime> getCutOff()
Optional
describing the cutoff date if set, or an empty one otherwisevoid setCutOff(TemporalAccessor cutOff)
cutOff
- dateString getReplicaID()
void setReplicaID(String replicaId)
replicaId
- new replica id, either 16 characters of 8:8 formatString setNewReplicaId()
setReplicaID(String)
Set<ReplicationFlags> getReplicationFlags()
boolean isReplicationFlagSet(ReplicationFlags flag)
flag
- flagvoid setReplicationFlag(ReplicationFlags flag, boolean on)
flag
- flag to changeon
- new flag value (on or off)ReplicaInfo.Priority getPriority()
void setPriority(ReplicaInfo.Priority priority)
priority
- new priorityCopyright © 2019–2021 HCL. All rights reserved.