public final class ReplicationStatus
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
DatabaseEntry |
getCData() |
Whenever the system receives contact information from a new
environment, a copy of the opaque data specified in the cdata
parameter to the
Environment.startReplication is available
from the getCDAta method. |
int |
getEnvID() |
Return the environment ID associated with the operation.
|
LogSequenceNumber |
getLSN() |
Whenever processing a messages results in the processing of messages
that are permanent, or a message carrying a DB_REP_PERMANENT flag
was processed successfully, but was not written to disk, the LSN of
the record is available from the getLSN method.
|
boolean |
isIgnore() |
This message cannot be processed.
|
boolean |
isNewSite() |
The system received contact information from a new environment.
|
boolean |
isNotPermanent() |
A message carrying a DB_REP_PERMANENT flag was processed successfully,
but was not written to disk.
|
boolean |
isPermanent() |
Processing this message resulted in the processing of records that
are permanent.
|
boolean |
isSuccess() |
The operation succeeded.
|
java.lang.String |
toString() |
public boolean isSuccess()
public boolean isIgnore()
public boolean isPermanent()
public boolean isNewSite()
Environment.startReplication
is available from the
getCDAta method. The application should take whatever action is
needed to establish a communication channel with this new
environment.public boolean isNotPermanent()
public DatabaseEntry getCData()
Environment.startReplication
is available
from the getCDAta method. The application should take whatever
action is needed to establish a communication channel with this new
environment.public int getEnvID()
Environment.processReplicationMessage
. However, if a new master is elected, this
method returns the environment ID of the new master. It is the
application's responsibility to ensure that the matching node begins acting
as the master environment.public LogSequenceNumber getLSN()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.