public class ReplayStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
instance |
java.util.List<OutstandingCount> |
outstandingCount |
java.util.List<SnapshotCount> |
snapshotCount |
long |
totalCount |
Constructor and Description |
---|
ReplayStatus() |
ReplayStatus(ReplayStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ReplayStatus.
|
static ReplayStatus |
fromString(java.lang.String s)
String representation of this ReplayStatus.
|
java.lang.String |
getInstance()
Replay server instance.
|
java.util.List<OutstandingCount> |
getOutstandingCount()
The count of not yet commited entries, indexed by source name.
|
java.util.Map<java.lang.String,OutstandingCount> |
getOutstandingCountAsMap()
Get the map of OutstandingCount, indexed by name
|
OutstandingCount |
getOutstandingCountByName(java.lang.String _lookup)
Get the OutstandingCount for which the name matches _lookup
|
java.util.List<SnapshotCount> |
getSnapshotCount()
The count of the number of valid documents, indexed by source name.
|
java.util.Map<java.lang.String,SnapshotCount> |
getSnapshotCountAsMap()
Get the map of SnapshotCount, indexed by name
|
SnapshotCount |
getSnapshotCountByName(java.lang.String _lookup)
Get the SnapshotCount for which the name matches _lookup
|
long |
getTotalCount()
The total count of the entries in the replay server that have been commited.
|
ReplayStatus |
makeCopy()
Creates and returns a deep copy of this ReplayStatus.
|
static ReplayStatus |
readFrom(java.io.InputStream is)
Read this ReplayStatus from an XML fragment.
|
boolean |
removeOutstandingCountByName(java.lang.String _lookup)
Removes the OutstandingCount for which the name matches _lookup
|
boolean |
removeSnapshotCountByName(java.lang.String _lookup)
Removes the SnapshotCount for which the name matches _lookup
|
void |
setInstance(java.lang.String instance)
Replay server instance.
|
void |
setTotalCount(long totalCount)
The total count of the entries in the replay server that have been commited.
|
java.lang.String |
toString()
String representation of this ReplayStatus.
|
ReplayStatus |
withInstance(java.lang.String instance) |
ReplayStatus |
withOutstandingCount(java.util.Collection<OutstandingCount> __values) |
ReplayStatus |
withOutstandingCount(OutstandingCount... __values)
The count of not yet commited entries, indexed by source name.
|
ReplayStatus |
withSnapshotCount(java.util.Collection<SnapshotCount> __values) |
ReplayStatus |
withSnapshotCount(SnapshotCount... __values)
The count of the number of valid documents, indexed by source name.
|
ReplayStatus |
withTotalCount(long totalCount) |
ReplayStatus |
withTotalCount(java.lang.Long totalCount) |
void |
writeTo(java.io.OutputStream os)
Write this ReplayStatus as an XML fragment
|
public java.lang.String instance
public long totalCount
public java.util.List<OutstandingCount> outstandingCount
public java.util.List<SnapshotCount> snapshotCount
public ReplayStatus()
public ReplayStatus(ReplayStatus o)
public void setInstance(java.lang.String instance)
public java.lang.String getInstance()
public ReplayStatus withInstance(java.lang.String instance)
public void setTotalCount(long totalCount)
public long getTotalCount()
public ReplayStatus withTotalCount(long totalCount)
public ReplayStatus withTotalCount(java.lang.Long totalCount)
public java.util.List<OutstandingCount> getOutstandingCount()
public OutstandingCount getOutstandingCountByName(java.lang.String _lookup)
public java.util.Map<java.lang.String,OutstandingCount> getOutstandingCountAsMap()
public boolean removeOutstandingCountByName(java.lang.String _lookup)
public ReplayStatus withOutstandingCount(OutstandingCount... __values)
public ReplayStatus withOutstandingCount(java.util.Collection<OutstandingCount> __values)
public java.util.List<SnapshotCount> getSnapshotCount()
public SnapshotCount getSnapshotCountByName(java.lang.String _lookup)
public java.util.Map<java.lang.String,SnapshotCount> getSnapshotCountAsMap()
public boolean removeSnapshotCountByName(java.lang.String _lookup)
public ReplayStatus withSnapshotCount(SnapshotCount... __values)
public ReplayStatus withSnapshotCount(java.util.Collection<SnapshotCount> __values)
public ReplayStatus makeCopy()
public static ReplayStatus 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 ReplayStatus 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.