org.almendra.janet.ade.distributor
Class Descriptor

java.lang.Object
  extended by org.almendra.janet.ade.distributor.Descriptor

public class Descriptor
extends java.lang.Object


Field Summary
protected  boolean disableEviction
           
protected  boolean disableFullEviction
           
protected  boolean disableNodeDroppedToQSC1
           
protected  boolean disableNodesWithQSC0Exist
           
protected  boolean disablePartialEviction
           
protected  long sharingDelay
           
static java.lang.String TAG_BALANCING
           
static java.lang.String TAG_DISABLE_EVICTION
           
static java.lang.String TAG_EVICT_COMMANDS_IF_CPU_LOAD_ABOVE
           
static java.lang.String TAG_SHARING_DISTRIBUTOR
           
static java.lang.String TAG_SHARING_DISTRIBUTOR_DELAY
           
 
Constructor Summary
Descriptor()
          Creates a new Descriptor object.
 
Method Summary
static Descriptor create(org.jdom.Element root)
           
protected  void fill(org.jdom.Element root)
           
protected  void fillDistributorBalancing(org.jdom.Element root)
           
protected  void fillDistributorSharing(org.jdom.Element root)
           
 long getSharingDelay()
           
 boolean isDisableEviction()
           
 boolean isDisableFullEviction()
           
 boolean isDisableNodeDroppedToQSC1()
           
 boolean isDisableNodesWithQSC0Exist()
           
 boolean isDisablePartialEviction()
           
 void setDisableEviction(boolean disableEviction)
           
 void setDisableFullEviction(boolean disableFullEviction)
           
 void setDisableNodeDroppedToQSC1(boolean disableNodeDroppedToQSC1)
           
 void setDisableNodesWithQSC0Exist(boolean disableNodesWithQSC0Exist)
           
 void setDisablePartialEviction(boolean disablePartialEviction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Descriptor

public Descriptor()
Creates a new Descriptor object.

Method Detail

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.