public class LowLatencyCompactPolicy extends AutoCompactPolicy implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
contiguousCompact
Deprecated.
|
static boolean |
DEFAULT_CONTIGUOUS_COMPACT |
static boolean |
DEFAULT_GATHER_SMALLS_AT_THE_END |
static int |
DEFAULT_MAX_NB_SMALL_SLOTS |
static int |
DEFAULT_NB_LARGE_SLOTS |
boolean |
gatherSmallsAtTheEnd
Deprecated.
|
int |
maxNbSmallSlots |
int |
nbLargeSlots |
component, fullCompactPolicy
Constructor and Description |
---|
LowLatencyCompactPolicy() |
LowLatencyCompactPolicy(LowLatencyCompactPolicy o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this LowLatencyCompactPolicy.
|
static LowLatencyCompactPolicy |
fromString(java.lang.String s)
String representation of this LowLatencyCompactPolicy.
|
int |
getMaxNbSmallSlots()
Maximum number of small slots allowed.
|
int |
getNbLargeSlots()
The number of large slots to keep.
|
boolean |
isContiguousCompact()
Deprecated.
|
boolean |
isGatherSmallsAtTheEnd()
Deprecated.
|
LowLatencyCompactPolicy |
makeCopy()
Creates and returns a deep copy of this LowLatencyCompactPolicy.
|
static LowLatencyCompactPolicy |
readFrom(java.io.InputStream is)
Read this LowLatencyCompactPolicy from an XML fragment.
|
void |
setContiguousCompact(boolean contiguousCompact)
Deprecated.
|
void |
setGatherSmallsAtTheEnd(boolean gatherSmallsAtTheEnd)
Deprecated.
|
void |
setMaxNbSmallSlots(int maxNbSmallSlots)
Maximum number of small slots allowed.
|
void |
setNbLargeSlots(int nbLargeSlots)
The number of large slots to keep.
|
java.lang.String |
toString()
String representation of this LowLatencyCompactPolicy.
|
LowLatencyCompactPolicy |
withComponent(java.lang.String component)
Deprecated.
|
LowLatencyCompactPolicy |
withContiguousCompact(boolean contiguousCompact)
Deprecated.
|
LowLatencyCompactPolicy |
withContiguousCompact(java.lang.Boolean contiguousCompact)
Deprecated.
|
LowLatencyCompactPolicy |
withFullCompactPolicy(FullCompactPolicy fullCompactPolicy) |
LowLatencyCompactPolicy |
withGatherSmallsAtTheEnd(boolean gatherSmallsAtTheEnd)
Deprecated.
|
LowLatencyCompactPolicy |
withGatherSmallsAtTheEnd(java.lang.Boolean gatherSmallsAtTheEnd)
Deprecated.
|
LowLatencyCompactPolicy |
withMaxNbSmallSlots(int maxNbSmallSlots) |
LowLatencyCompactPolicy |
withMaxNbSmallSlots(java.lang.Integer maxNbSmallSlots) |
LowLatencyCompactPolicy |
withNbLargeSlots(int nbLargeSlots) |
LowLatencyCompactPolicy |
withNbLargeSlots(java.lang.Integer nbLargeSlots) |
void |
writeTo(java.io.OutputStream os)
Write this LowLatencyCompactPolicy as an XML fragment
|
getComponent, getFullCompactPolicy, setComponent, setFullCompactPolicy
public int nbLargeSlots
public static final int DEFAULT_NB_LARGE_SLOTS
public int maxNbSmallSlots
public static final int DEFAULT_MAX_NB_SMALL_SLOTS
@Deprecated public boolean gatherSmallsAtTheEnd
public static final boolean DEFAULT_GATHER_SMALLS_AT_THE_END
@Deprecated public boolean contiguousCompact
public static final boolean DEFAULT_CONTIGUOUS_COMPACT
public LowLatencyCompactPolicy()
public LowLatencyCompactPolicy(LowLatencyCompactPolicy o)
@Deprecated public LowLatencyCompactPolicy withComponent(java.lang.String component)
withComponent
in class AutoCompactPolicy
public LowLatencyCompactPolicy withFullCompactPolicy(FullCompactPolicy fullCompactPolicy)
withFullCompactPolicy
in class AutoCompactPolicy
public void setNbLargeSlots(int nbLargeSlots)
public int getNbLargeSlots()
public LowLatencyCompactPolicy withNbLargeSlots(int nbLargeSlots)
public LowLatencyCompactPolicy withNbLargeSlots(java.lang.Integer nbLargeSlots)
public void setMaxNbSmallSlots(int maxNbSmallSlots)
public int getMaxNbSmallSlots()
public LowLatencyCompactPolicy withMaxNbSmallSlots(int maxNbSmallSlots)
public LowLatencyCompactPolicy withMaxNbSmallSlots(java.lang.Integer maxNbSmallSlots)
@Deprecated public void setGatherSmallsAtTheEnd(boolean gatherSmallsAtTheEnd)
@Deprecated public boolean isGatherSmallsAtTheEnd()
@Deprecated public LowLatencyCompactPolicy withGatherSmallsAtTheEnd(boolean gatherSmallsAtTheEnd)
@Deprecated public LowLatencyCompactPolicy withGatherSmallsAtTheEnd(java.lang.Boolean gatherSmallsAtTheEnd)
@Deprecated public void setContiguousCompact(boolean contiguousCompact)
@Deprecated public boolean isContiguousCompact()
@Deprecated public LowLatencyCompactPolicy withContiguousCompact(boolean contiguousCompact)
@Deprecated public LowLatencyCompactPolicy withContiguousCompact(java.lang.Boolean contiguousCompact)
public LowLatencyCompactPolicy makeCopy()
makeCopy
in class AutoCompactPolicy
public static LowLatencyCompactPolicy 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
writeTo
in class AutoCompactPolicy
javax.xml.bind.JAXBException
java.io.IOException
public static LowLatencyCompactPolicy 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 AutoCompactPolicy
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class AutoCompactPolicy
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.