|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.anji.nn.RecurrencyPolicy
public class RecurrencyPolicy
Enumerated type representing policies for how to handle recurrency.
Field Summary | |
---|---|
static RecurrencyPolicy |
BEST_GUESS
recurrency allowed; recurrent connections where it seems they might be necessary |
static RecurrencyPolicy |
DISALLOWED
no recurrency allowed; no loops in network |
static java.lang.String |
KEY
properties key |
static RecurrencyPolicy |
LAZY
recurrency allowed; treat all connections as if they might be recurrent |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
static RecurrencyPolicy |
load(Properties props)
See Parameter Details for recurrent property settings. |
java.lang.String |
toString()
|
static RecurrencyPolicy |
valueOf(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String KEY
public static final RecurrencyPolicy DISALLOWED
public static final RecurrencyPolicy BEST_GUESS
public static final RecurrencyPolicy LAZY
Method Detail |
---|
public static RecurrencyPolicy valueOf(java.lang.String name)
name
-
name
public static RecurrencyPolicy load(Properties props)
recurrent
property settings.
props
- configuration parameter
props
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |