public class IndexUnitStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
PushAPIStatus |
pushAPIStatus |
long |
startTimeInMs |
int |
totalIndexedDocuments |
Constructor and Description |
---|
IndexUnitStatus() |
IndexUnitStatus(IndexUnitStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this IndexUnitStatus.
|
static IndexUnitStatus |
fromString(java.lang.String s)
String representation of this IndexUnitStatus.
|
PushAPIStatus |
getPushAPIStatus() |
long |
getStartTimeInMs()
Start time (in milliseconds) of this Index Unit
|
int |
getTotalIndexedDocuments()
Total indexed documents of this Index Unit
|
IndexUnitStatus |
makeCopy()
Creates and returns a deep copy of this IndexUnitStatus.
|
static IndexUnitStatus |
readFrom(java.io.InputStream is)
Read this IndexUnitStatus from an XML fragment.
|
void |
setPushAPIStatus(PushAPIStatus pushAPIStatus) |
void |
setStartTimeInMs(long startTimeInMs)
Start time (in milliseconds) of this Index Unit
|
void |
setTotalIndexedDocuments(int totalIndexedDocuments)
Total indexed documents of this Index Unit
|
java.lang.String |
toString()
String representation of this IndexUnitStatus.
|
IndexUnitStatus |
withPushAPIStatus(PushAPIStatus pushAPIStatus) |
IndexUnitStatus |
withStartTimeInMs(long startTimeInMs) |
IndexUnitStatus |
withStartTimeInMs(java.lang.Long startTimeInMs) |
IndexUnitStatus |
withTotalIndexedDocuments(int totalIndexedDocuments) |
IndexUnitStatus |
withTotalIndexedDocuments(java.lang.Integer totalIndexedDocuments) |
void |
writeTo(java.io.OutputStream os)
Write this IndexUnitStatus as an XML fragment
|
public long startTimeInMs
public int totalIndexedDocuments
public PushAPIStatus pushAPIStatus
public IndexUnitStatus()
public IndexUnitStatus(IndexUnitStatus o)
public void setStartTimeInMs(long startTimeInMs)
public long getStartTimeInMs()
public IndexUnitStatus withStartTimeInMs(long startTimeInMs)
public IndexUnitStatus withStartTimeInMs(java.lang.Long startTimeInMs)
public void setTotalIndexedDocuments(int totalIndexedDocuments)
public int getTotalIndexedDocuments()
public IndexUnitStatus withTotalIndexedDocuments(int totalIndexedDocuments)
public IndexUnitStatus withTotalIndexedDocuments(java.lang.Integer totalIndexedDocuments)
public void setPushAPIStatus(PushAPIStatus pushAPIStatus)
public PushAPIStatus getPushAPIStatus()
public IndexUnitStatus withPushAPIStatus(PushAPIStatus pushAPIStatus)
public IndexUnitStatus makeCopy()
public static IndexUnitStatus 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 IndexUnitStatus 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.