|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterMetaData
Allows arbitrary information to be attached to a cluster.
Method Summary | |
---|---|
Object |
getProperty(String key)
Returns the property stored using the given key . |
boolean |
isPropertySet(String key)
Indicates whether a value is stored under the given key . |
void |
removeProperty(String key)
Removes the value store under the given key . |
void |
setProperty(String key,
Object value)
Stores a property value under the given key . |
Method Detail |
---|
Object getProperty(String key)
key
. If no property has been stored using that key, it
returns null
.
key
- The key under which the property was stored
key
void setProperty(String key, Object value)
value
under the given key
.
key
- the key under which to store a valuevalue
- the value to storevoid removeProperty(String key)
key
. If no such value is available, nothing happens.
key
- the key to removeboolean isPropertySet(String key)
key
. Will also return true
if a null
value is stored under the given key
.
key
- The key to find
true
if a value was stored under the given key
, otherwise false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |