public class StoreStatus
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
long |
checkpointStoreSizeInBytes |
boolean |
compacting |
static boolean |
DEFAULT_COMPACTING |
long |
documentStoreSizeInBytes |
long |
objectGraphStoreSizeInBytes |
Constructor and Description |
---|
StoreStatus() |
StoreStatus(StoreStatus o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this StoreStatus.
|
static StoreStatus |
fromString(java.lang.String s)
String representation of this StoreStatus.
|
long |
getCheckpointStoreSizeInBytes() |
long |
getDocumentStoreSizeInBytes() |
long |
getObjectGraphStoreSizeInBytes() |
boolean |
isCompacting() |
StoreStatus |
makeCopy()
Creates and returns a deep copy of this StoreStatus.
|
static StoreStatus |
readFrom(java.io.InputStream is)
Read this StoreStatus from an XML fragment.
|
void |
setCheckpointStoreSizeInBytes(long checkpointStoreSizeInBytes) |
void |
setCompacting(boolean compacting) |
void |
setDocumentStoreSizeInBytes(long documentStoreSizeInBytes) |
void |
setObjectGraphStoreSizeInBytes(long objectGraphStoreSizeInBytes) |
java.lang.String |
toString()
String representation of this StoreStatus.
|
StoreStatus |
withCheckpointStoreSizeInBytes(long checkpointStoreSizeInBytes) |
StoreStatus |
withCheckpointStoreSizeInBytes(java.lang.Long checkpointStoreSizeInBytes) |
StoreStatus |
withCompacting(boolean compacting) |
StoreStatus |
withCompacting(java.lang.Boolean compacting) |
StoreStatus |
withDocumentStoreSizeInBytes(long documentStoreSizeInBytes) |
StoreStatus |
withDocumentStoreSizeInBytes(java.lang.Long documentStoreSizeInBytes) |
StoreStatus |
withObjectGraphStoreSizeInBytes(long objectGraphStoreSizeInBytes) |
StoreStatus |
withObjectGraphStoreSizeInBytes(java.lang.Long objectGraphStoreSizeInBytes) |
void |
writeTo(java.io.OutputStream os)
Write this StoreStatus as an XML fragment
|
public boolean compacting
public static final boolean DEFAULT_COMPACTING
public long documentStoreSizeInBytes
public long objectGraphStoreSizeInBytes
public long checkpointStoreSizeInBytes
public StoreStatus()
public StoreStatus(StoreStatus o)
public void setCompacting(boolean compacting)
public boolean isCompacting()
public StoreStatus withCompacting(boolean compacting)
public StoreStatus withCompacting(java.lang.Boolean compacting)
public void setDocumentStoreSizeInBytes(long documentStoreSizeInBytes)
public long getDocumentStoreSizeInBytes()
public StoreStatus withDocumentStoreSizeInBytes(long documentStoreSizeInBytes)
public StoreStatus withDocumentStoreSizeInBytes(java.lang.Long documentStoreSizeInBytes)
public void setObjectGraphStoreSizeInBytes(long objectGraphStoreSizeInBytes)
public long getObjectGraphStoreSizeInBytes()
public StoreStatus withObjectGraphStoreSizeInBytes(long objectGraphStoreSizeInBytes)
public StoreStatus withObjectGraphStoreSizeInBytes(java.lang.Long objectGraphStoreSizeInBytes)
public void setCheckpointStoreSizeInBytes(long checkpointStoreSizeInBytes)
public long getCheckpointStoreSizeInBytes()
public StoreStatus withCheckpointStoreSizeInBytes(long checkpointStoreSizeInBytes)
public StoreStatus withCheckpointStoreSizeInBytes(java.lang.Long checkpointStoreSizeInBytes)
public StoreStatus makeCopy()
public static StoreStatus 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 StoreStatus 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.