|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.service.nodemap.affinity.BasicState
com.sun.sgs.impl.service.nodemap.affinity.graph.AbstractAffinityGraphBuilder
public class AbstractAffinityGraphBuilder
A base class to support common AffinityGraphBuilder implementations.
This class supports the following properties:
com.sun.sgs.impl.service.nodemap.affinity.snapshot.period
300000 (5 minutes)
com.sun.sgs.impl.service.nodemap.affinity.snapshot.count
1
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.sgs.impl.service.nodemap.affinity.BasicState |
|---|
BasicState.State |
| Field Summary | |
|---|---|
static long |
DEFAULT_PERIOD
The default time snapshot period. |
static int |
DEFAULT_PERIOD_COUNT
The default snapshot count. |
protected static LoggerWrapper |
logger
Our logger. |
static String |
PERIOD_COUNT_PROPERTY
The property controlling how many past snapshots to retain. |
static String |
PERIOD_PROPERTY
The property controlling time snapshots, in milliseconds. |
protected int |
periodCount
The number of snapshots the graph pruner should maintain. |
static String |
PROP_BASE
The base name for graph builder properties. |
protected long |
snapshot
The time, in milliseconds for each period snapshot. |
protected PropertiesWrapper |
wrappedProps
Our properties. |
| Fields inherited from class com.sun.sgs.impl.service.nodemap.affinity.BasicState |
|---|
state |
| Constructor Summary | |
|---|---|
protected |
AbstractAffinityGraphBuilder(Properties properties)
Parses common graph builder properties. |
| Method Summary |
|---|
| Methods inherited from class com.sun.sgs.impl.service.nodemap.affinity.BasicState |
|---|
checkForDisabledOrShutdownState, checkForShutdownState, setDisabledState, setEnabledState, setShutdownState |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROP_BASE
public static final String PERIOD_PROPERTY
public static final long DEFAULT_PERIOD
public static final String PERIOD_COUNT_PROPERTY
public static final int DEFAULT_PERIOD_COUNT
protected static final LoggerWrapper logger
protected final PropertiesWrapper wrappedProps
protected final long snapshot
protected final int periodCount
| Constructor Detail |
|---|
protected AbstractAffinityGraphBuilder(Properties properties)
properties - the configuration properties for this graph builder
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||