|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibis.ipl.DynamicProperties
Dynamic properties associated with a send or receive port. Each port may have a set of dynamic properties associated with it, for instance a buffer size. The details are Ibis-implementation-specific, so any application depending on this is not portable across different Ibis implementations. The default implementation does nothing.
Field Summary | |
static DynamicProperties |
NoDynamicProperties
Empty dynamic properties set. |
Constructor Summary | |
DynamicProperties()
|
Method Summary | |
java.lang.Object |
find(java.lang.String key)
Returns the object associated with the specified key. |
java.util.Enumeration |
keys()
Returns an enumeration for all current keys in this properties. |
void |
set(java.lang.String key,
java.lang.Object value)
Sets the property associated with the specified key to the specified value. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final DynamicProperties NoDynamicProperties
ReceivePort.properties()
or SendPort.properties()
when these ports don't implement specific dynamic properties.
Constructor Detail |
public DynamicProperties()
Method Detail |
public void set(java.lang.String key, java.lang.Object value) throws IbisException
key
- the property to be set.value
- the value for this property.
IbisException
- may be thrown when a property is set to an
illegal value.public java.lang.Object find(java.lang.String key)
key
- the property key.
null
if not present.public java.util.Enumeration keys()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |