public class IndexSliceInstanceStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_REPLICATING |
static boolean |
DEFAULT_REPLICATION_ATTACHED |
static boolean |
DEFAULT_REPLICATION_PAUSED |
static boolean |
DEFAULT_VALID |
java.lang.String |
host |
int |
indexSlice |
java.lang.String |
install |
long |
lastCommit |
long |
nbDocs |
java.util.List<PageCacheStats> |
pageCacheStats |
java.lang.String |
reason |
boolean |
replicating |
boolean |
replicationAttached |
long |
replicationFilesToDownload |
boolean |
replicationPaused |
long |
replicationSizeToDownload |
long |
serial |
java.lang.String |
sliceInstance |
java.lang.String |
status |
boolean |
valid |
Constructor and Description |
---|
IndexSliceInstanceStatus() |
IndexSliceInstanceStatus(IndexSliceInstanceStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this IndexSliceInstanceStatus.
|
static IndexSliceInstanceStatus |
fromString(java.lang.String s)
String representation of this IndexSliceInstanceStatus.
|
java.lang.String |
getHost() |
int |
getIndexSlice() |
java.lang.String |
getInstall() |
long |
getLastCommit() |
long |
getNbDocs() |
java.util.List<PageCacheStats> |
getPageCacheStats() |
java.lang.String |
getReason() |
long |
getReplicationFilesToDownload() |
long |
getReplicationSizeToDownload() |
long |
getSerial()
The serial of the slice.
If serial is -1 then the slice has never replicated any import. |
java.lang.String |
getSliceInstance() |
java.lang.String |
getStatus() |
boolean |
isReplicating() |
boolean |
isReplicationAttached() |
boolean |
isReplicationPaused() |
boolean |
isValid() |
IndexSliceInstanceStatus |
makeCopy()
Creates and returns a deep copy of this IndexSliceInstanceStatus.
|
static IndexSliceInstanceStatus |
readFrom(java.io.InputStream is)
Read this IndexSliceInstanceStatus from an XML fragment.
|
void |
setHost(java.lang.String host) |
void |
setIndexSlice(int indexSlice) |
void |
setInstall(java.lang.String install) |
void |
setLastCommit(long lastCommit) |
void |
setNbDocs(long nbDocs) |
void |
setReason(java.lang.String reason) |
void |
setReplicating(boolean replicating) |
void |
setReplicationAttached(boolean replicationAttached) |
void |
setReplicationFilesToDownload(long replicationFilesToDownload) |
void |
setReplicationPaused(boolean replicationPaused) |
void |
setReplicationSizeToDownload(long replicationSizeToDownload) |
void |
setSerial(long serial)
The serial of the slice.
If serial is -1 then the slice has never replicated any import. |
void |
setSliceInstance(java.lang.String sliceInstance) |
void |
setStatus(java.lang.String status) |
void |
setValid(boolean valid) |
java.lang.String |
toString()
String representation of this IndexSliceInstanceStatus.
|
IndexSliceInstanceStatus |
withHost(java.lang.String host) |
IndexSliceInstanceStatus |
withIndexSlice(int indexSlice) |
IndexSliceInstanceStatus |
withIndexSlice(java.lang.Integer indexSlice) |
IndexSliceInstanceStatus |
withInstall(java.lang.String install) |
IndexSliceInstanceStatus |
withLastCommit(long lastCommit) |
IndexSliceInstanceStatus |
withLastCommit(java.lang.Long lastCommit) |
IndexSliceInstanceStatus |
withNbDocs(long nbDocs) |
IndexSliceInstanceStatus |
withNbDocs(java.lang.Long nbDocs) |
IndexSliceInstanceStatus |
withPageCacheStats(java.util.Collection<PageCacheStats> __values) |
IndexSliceInstanceStatus |
withPageCacheStats(PageCacheStats... __values) |
IndexSliceInstanceStatus |
withReason(java.lang.String reason) |
IndexSliceInstanceStatus |
withReplicating(boolean replicating) |
IndexSliceInstanceStatus |
withReplicating(java.lang.Boolean replicating) |
IndexSliceInstanceStatus |
withReplicationAttached(boolean replicationAttached) |
IndexSliceInstanceStatus |
withReplicationAttached(java.lang.Boolean replicationAttached) |
IndexSliceInstanceStatus |
withReplicationFilesToDownload(long replicationFilesToDownload) |
IndexSliceInstanceStatus |
withReplicationFilesToDownload(java.lang.Long replicationFilesToDownload) |
IndexSliceInstanceStatus |
withReplicationPaused(boolean replicationPaused) |
IndexSliceInstanceStatus |
withReplicationPaused(java.lang.Boolean replicationPaused) |
IndexSliceInstanceStatus |
withReplicationSizeToDownload(long replicationSizeToDownload) |
IndexSliceInstanceStatus |
withReplicationSizeToDownload(java.lang.Long replicationSizeToDownload) |
IndexSliceInstanceStatus |
withSerial(long serial) |
IndexSliceInstanceStatus |
withSerial(java.lang.Long serial) |
IndexSliceInstanceStatus |
withSliceInstance(java.lang.String sliceInstance) |
IndexSliceInstanceStatus |
withStatus(java.lang.String status) |
IndexSliceInstanceStatus |
withValid(boolean valid) |
IndexSliceInstanceStatus |
withValid(java.lang.Boolean valid) |
void |
writeTo(java.io.OutputStream os)
Write this IndexSliceInstanceStatus as an XML fragment
|
public int indexSlice
public java.lang.String sliceInstance
public java.lang.String host
public java.lang.String install
public boolean valid
public static final boolean DEFAULT_VALID
public java.lang.String reason
public long serial
public java.lang.String status
public boolean replicating
public static final boolean DEFAULT_REPLICATING
public long replicationFilesToDownload
public long replicationSizeToDownload
public boolean replicationAttached
public static final boolean DEFAULT_REPLICATION_ATTACHED
public boolean replicationPaused
public static final boolean DEFAULT_REPLICATION_PAUSED
public long lastCommit
public java.util.List<PageCacheStats> pageCacheStats
public long nbDocs
public IndexSliceInstanceStatus()
public IndexSliceInstanceStatus(IndexSliceInstanceStatus o)
public void setIndexSlice(int indexSlice)
public int getIndexSlice()
public IndexSliceInstanceStatus withIndexSlice(int indexSlice)
public IndexSliceInstanceStatus withIndexSlice(java.lang.Integer indexSlice)
public void setSliceInstance(java.lang.String sliceInstance)
public java.lang.String getSliceInstance()
public IndexSliceInstanceStatus withSliceInstance(java.lang.String sliceInstance)
public void setHost(java.lang.String host)
public java.lang.String getHost()
public IndexSliceInstanceStatus withHost(java.lang.String host)
public void setInstall(java.lang.String install)
public java.lang.String getInstall()
public IndexSliceInstanceStatus withInstall(java.lang.String install)
public void setValid(boolean valid)
public boolean isValid()
public IndexSliceInstanceStatus withValid(boolean valid)
public IndexSliceInstanceStatus withValid(java.lang.Boolean valid)
public void setReason(java.lang.String reason)
public java.lang.String getReason()
public IndexSliceInstanceStatus withReason(java.lang.String reason)
public void setSerial(long serial)
public long getSerial()
public IndexSliceInstanceStatus withSerial(long serial)
public IndexSliceInstanceStatus withSerial(java.lang.Long serial)
public void setStatus(java.lang.String status)
public java.lang.String getStatus()
public IndexSliceInstanceStatus withStatus(java.lang.String status)
public void setReplicating(boolean replicating)
public boolean isReplicating()
public IndexSliceInstanceStatus withReplicating(boolean replicating)
public IndexSliceInstanceStatus withReplicating(java.lang.Boolean replicating)
public void setReplicationFilesToDownload(long replicationFilesToDownload)
public long getReplicationFilesToDownload()
public IndexSliceInstanceStatus withReplicationFilesToDownload(long replicationFilesToDownload)
public IndexSliceInstanceStatus withReplicationFilesToDownload(java.lang.Long replicationFilesToDownload)
public void setReplicationSizeToDownload(long replicationSizeToDownload)
public long getReplicationSizeToDownload()
public IndexSliceInstanceStatus withReplicationSizeToDownload(long replicationSizeToDownload)
public IndexSliceInstanceStatus withReplicationSizeToDownload(java.lang.Long replicationSizeToDownload)
public void setReplicationAttached(boolean replicationAttached)
public boolean isReplicationAttached()
public IndexSliceInstanceStatus withReplicationAttached(boolean replicationAttached)
public IndexSliceInstanceStatus withReplicationAttached(java.lang.Boolean replicationAttached)
public void setReplicationPaused(boolean replicationPaused)
public boolean isReplicationPaused()
public IndexSliceInstanceStatus withReplicationPaused(boolean replicationPaused)
public IndexSliceInstanceStatus withReplicationPaused(java.lang.Boolean replicationPaused)
public void setLastCommit(long lastCommit)
public long getLastCommit()
public IndexSliceInstanceStatus withLastCommit(long lastCommit)
public IndexSliceInstanceStatus withLastCommit(java.lang.Long lastCommit)
public java.util.List<PageCacheStats> getPageCacheStats()
public IndexSliceInstanceStatus withPageCacheStats(PageCacheStats... __values)
public IndexSliceInstanceStatus withPageCacheStats(java.util.Collection<PageCacheStats> __values)
public void setNbDocs(long nbDocs)
public long getNbDocs()
public IndexSliceInstanceStatus withNbDocs(long nbDocs)
public IndexSliceInstanceStatus withNbDocs(java.lang.Long nbDocs)
public IndexSliceInstanceStatus makeCopy()
public static IndexSliceInstanceStatus 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 IndexSliceInstanceStatus 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.