org.almendra.janet.ade.observer
Class Descriptor

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

public class Descriptor
extends java.lang.Object


Field Summary
protected  int after
           
protected  int evictionThreshold
           
protected  long period
           
protected  int significantWhenChangeExceeding
           
static java.lang.String TAG_LOAD_CHANGE
           
static java.lang.String TAG_LOAD_CHANGE_EVICTION_THRESHOLD
           
static java.lang.String TAG_LOAD_CHANGE_SIGNIFICANT_AFTER
           
static java.lang.String TAG_LOAD_CHANGE_SIGNIFICANT_WHEN_EXCEEDING
           
static java.lang.String TAG_OBSERVER_INTERVAL
           
static java.lang.String TAG_OBSERVER_PERIOD
           
 
Constructor Summary
Descriptor()
          Creates a new Descriptor object.
 
Method Summary
static Descriptor create(org.jdom.Element root)
           
protected  void fill(org.jdom.Element root)
           
 int getAfter()
           
 int getEvictionThreshold()
           
 long getPeriod()
           
 int getSignificantWhenChangeExceeding()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_OBSERVER_INTERVAL

public static final java.lang.String TAG_OBSERVER_INTERVAL
See Also:
Constant Field Values

TAG_OBSERVER_PERIOD

public static final java.lang.String TAG_OBSERVER_PERIOD
See Also:
Constant Field Values

TAG_LOAD_CHANGE

public static final java.lang.String TAG_LOAD_CHANGE
See Also:
Constant Field Values

TAG_LOAD_CHANGE_SIGNIFICANT_WHEN_EXCEEDING

public static final java.lang.String TAG_LOAD_CHANGE_SIGNIFICANT_WHEN_EXCEEDING
See Also:
Constant Field Values

TAG_LOAD_CHANGE_EVICTION_THRESHOLD

public static final java.lang.String TAG_LOAD_CHANGE_EVICTION_THRESHOLD
See Also:
Constant Field Values

TAG_LOAD_CHANGE_SIGNIFICANT_AFTER

public static final java.lang.String TAG_LOAD_CHANGE_SIGNIFICANT_AFTER
See Also:
Constant Field Values

period

protected long period

significantWhenChangeExceeding

protected int significantWhenChangeExceeding

after

protected int after

evictionThreshold

protected int evictionThreshold
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)
             throws XMLParseException
Parameters:
root -
Throws:
XMLParseException

getPeriod

public long getPeriod()
Returns:
Returns the period.

getAfter

public int getAfter()
Returns:
Returns the after.

getSignificantWhenChangeExceeding

public int getSignificantWhenChangeExceeding()
Returns:
Returns the significantWhenChangeExceeding.

getEvictionThreshold

public int getEvictionThreshold()
Returns:
Returns the evictionThreshold.