org.almendra.janet.ade.distributor
Class Descriptor
java.lang.Object
org.almendra.janet.ade.distributor.Descriptor
public class Descriptor
- extends java.lang.Object
Constructor Summary |
Descriptor()
Creates a new Descriptor object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_SHARING_DISTRIBUTOR
public static final java.lang.String TAG_SHARING_DISTRIBUTOR
- See Also:
- Constant Field Values
TAG_SHARING_DISTRIBUTOR_DELAY
public static final java.lang.String TAG_SHARING_DISTRIBUTOR_DELAY
- See Also:
- Constant Field Values
TAG_BALANCING
public static final java.lang.String TAG_BALANCING
- See Also:
- Constant Field Values
TAG_DISABLE_EVICTION
public static final java.lang.String TAG_DISABLE_EVICTION
- See Also:
- Constant Field Values
TAG_EVICT_COMMANDS_IF_CPU_LOAD_ABOVE
public static final java.lang.String TAG_EVICT_COMMANDS_IF_CPU_LOAD_ABOVE
- See Also:
- Constant Field Values
sharingDelay
protected volatile long sharingDelay
disableEviction
protected volatile boolean disableEviction
disableFullEviction
protected volatile boolean disableFullEviction
disablePartialEviction
protected volatile boolean disablePartialEviction
disableNodesWithQSC0Exist
protected volatile boolean disableNodesWithQSC0Exist
disableNodeDroppedToQSC1
protected volatile boolean disableNodeDroppedToQSC1
Descriptor
public Descriptor()
- Creates a new
Descriptor
object.
create
public static Descriptor create(org.jdom.Element root)
throws XMLParseException
- Parameters:
root
-
- Returns:
-
- Throws:
XMLParseException
fill
protected void fill(org.jdom.Element root)
- Parameters:
root
-
fillDistributorBalancing
protected void fillDistributorBalancing(org.jdom.Element root)
fillDistributorSharing
protected void fillDistributorSharing(org.jdom.Element root)
getSharingDelay
public long getSharingDelay()
- Returns:
isDisableEviction
public boolean isDisableEviction()
- Returns:
- Returns the disableEviction.
isDisableFullEviction
public boolean isDisableFullEviction()
- Returns:
- Returns the disableFullEviction.
setDisableFullEviction
public void setDisableFullEviction(boolean disableFullEviction)
- Parameters:
disableFullEviction
- The disableFullEviction to set.
isDisableNodeDroppedToQSC1
public boolean isDisableNodeDroppedToQSC1()
- Returns:
- Returns the disableNodeDroppedToQSC1.
setDisableNodeDroppedToQSC1
public void setDisableNodeDroppedToQSC1(boolean disableNodeDroppedToQSC1)
- Parameters:
disableNodeDroppedToQSC1
- The disableNodeDroppedToQSC1 to set.
isDisableNodesWithQSC0Exist
public boolean isDisableNodesWithQSC0Exist()
- Returns:
- Returns the disableNodesWithQSC0Exist.
setDisableNodesWithQSC0Exist
public void setDisableNodesWithQSC0Exist(boolean disableNodesWithQSC0Exist)
- Parameters:
disableNodesWithQSC0Exist
- The disableNodesWithQSC0Exist to set.
isDisablePartialEviction
public boolean isDisablePartialEviction()
- Returns:
- Returns the disablePartialEviction.
setDisablePartialEviction
public void setDisablePartialEviction(boolean disablePartialEviction)
- Parameters:
disablePartialEviction
- The disablePartialEviction to set.
setDisableEviction
public void setDisableEviction(boolean disableEviction)
- Parameters:
disableEviction
- The disableEviction to set.