public class PerReplayServerStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PerReplayServerStatus.SnapshotCount |
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_HAS_SNAPSHOT |
boolean |
hasSnapshot |
java.lang.String |
replayServer |
protected PerReplayServerStatus.SnapshotCount |
snapshotCount |
long |
totalCount |
long |
uncommittedCount |
Constructor and Description |
---|
PerReplayServerStatus() |
PerReplayServerStatus(PerReplayServerStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this PerReplayServerStatus.
|
static PerReplayServerStatus |
fromString(java.lang.String s)
String representation of this PerReplayServerStatus.
|
java.lang.String |
getReplayServer()
Instance name of the replay server
|
PerReplayServerStatus.SnapshotCount |
getSnapshotCount() |
long |
getTotalCount()
Number of added documents in the replay server
|
long |
getUncommittedCount()
Number of uncommitted documents in the replay server
|
boolean |
isHasSnapshot()
Is the replay connector using a snapshot
|
PerReplayServerStatus |
makeCopy()
Creates and returns a deep copy of this PerReplayServerStatus.
|
static PerReplayServerStatus |
readFrom(java.io.InputStream is)
Read this PerReplayServerStatus from an XML fragment.
|
void |
setHasSnapshot(boolean hasSnapshot)
Is the replay connector using a snapshot
|
void |
setReplayServer(java.lang.String replayServer)
Instance name of the replay server
|
void |
setSnapshotCount(PerReplayServerStatus.SnapshotCount __value) |
void |
setTotalCount(long totalCount)
Number of added documents in the replay server
|
void |
setUncommittedCount(long uncommittedCount)
Number of uncommitted documents in the replay server
|
java.lang.String |
toString()
String representation of this PerReplayServerStatus.
|
PerReplayServerStatus |
withHasSnapshot(boolean hasSnapshot) |
PerReplayServerStatus |
withHasSnapshot(java.lang.Boolean hasSnapshot) |
PerReplayServerStatus |
withReplayServer(java.lang.String replayServer) |
PerReplayServerStatus |
withSnapshotCount(java.util.Collection<KeyValue> __values) |
PerReplayServerStatus |
withSnapshotCount(KeyValue... __values) |
PerReplayServerStatus |
withSnapshotCount(PerReplayServerStatus.SnapshotCount __value) |
PerReplayServerStatus |
withTotalCount(long totalCount) |
PerReplayServerStatus |
withTotalCount(java.lang.Long totalCount) |
PerReplayServerStatus |
withUncommittedCount(long uncommittedCount) |
PerReplayServerStatus |
withUncommittedCount(java.lang.Long uncommittedCount) |
void |
writeTo(java.io.OutputStream os)
Write this PerReplayServerStatus as an XML fragment
|
public java.lang.String replayServer
public long totalCount
public long uncommittedCount
protected PerReplayServerStatus.SnapshotCount snapshotCount
public boolean hasSnapshot
public static final boolean DEFAULT_HAS_SNAPSHOT
public PerReplayServerStatus()
public PerReplayServerStatus(PerReplayServerStatus o)
public void setReplayServer(java.lang.String replayServer)
public java.lang.String getReplayServer()
public PerReplayServerStatus withReplayServer(java.lang.String replayServer)
public void setTotalCount(long totalCount)
public long getTotalCount()
public PerReplayServerStatus withTotalCount(long totalCount)
public PerReplayServerStatus withTotalCount(java.lang.Long totalCount)
public void setUncommittedCount(long uncommittedCount)
public long getUncommittedCount()
public PerReplayServerStatus withUncommittedCount(long uncommittedCount)
public PerReplayServerStatus withUncommittedCount(java.lang.Long uncommittedCount)
public PerReplayServerStatus.SnapshotCount getSnapshotCount()
public void setSnapshotCount(PerReplayServerStatus.SnapshotCount __value)
public PerReplayServerStatus withSnapshotCount(KeyValue... __values)
public PerReplayServerStatus withSnapshotCount(java.util.Collection<KeyValue> __values)
public PerReplayServerStatus withSnapshotCount(PerReplayServerStatus.SnapshotCount __value)
public void setHasSnapshot(boolean hasSnapshot)
public boolean isHasSnapshot()
public PerReplayServerStatus withHasSnapshot(boolean hasSnapshot)
public PerReplayServerStatus withHasSnapshot(java.lang.Boolean hasSnapshot)
public PerReplayServerStatus makeCopy()
public static PerReplayServerStatus readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static PerReplayServerStatus fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.