|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.notify.PropertiesRepository
public class PropertiesRepository
The PropertiesHelper class defines operations for getting and setting runtime properties. That way, the specific properties can be set and retrieved more efficiently (no need to parse Property[]).
Constructor Summary | |
---|---|
PropertiesRepository()
Constructor |
|
PropertiesRepository(Property[] qos)
Constructor |
|
PropertiesRepository(Property[] qos,
Property[] admin)
Constructor |
Method Summary | |
---|---|
short |
getDiscardPolicy()
DiscardPolicy getter |
int |
getMaxConsumers()
MaxConsumers getter |
int |
getMaxEventsPerConsumer()
MaxEventsPerConsumer getter |
int |
getMaximumBatchSize()
MaximumBatchSize getter |
int |
getMaxQueueLength()
MaxQueueLength getter |
int |
getMaxSuppliers()
MaxSuppliers getter |
short |
getOrderPolicy()
OrderPolicy getter |
long |
getPacingInterval()
PacingInterval getter |
short |
getPriority()
Priority getter |
java.lang.Object |
getProperty(java.lang.Object key)
This methods gets a property. |
UtcT |
getStartTime()
StartTime getter |
UtcT |
getStopTime()
StopTime getter |
long |
getTimeout()
Timeout getter |
boolean |
isConnectionReliable()
ConnectionReliability getter |
boolean |
isEventReliable()
EventReliability getter |
boolean |
isQueueMaxPerformance()
EventQueuePerformance getter (OpenORB only) |
boolean |
isRejectNewEvents()
RejectNewEvents getter |
boolean |
isStartTimeSupported()
StartTimeSupported getter |
boolean |
isStopTimeSupported()
StopTimeSupported getter |
void |
setProperty(java.lang.Object key,
java.lang.Object value)
This methods sets a property. |
void |
storeProperties(Property[] props)
This methods uses a Property list ( Admin or QoS properties ) to store the properties in the helper. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertiesRepository(Property[] qos, Property[] admin)
public PropertiesRepository(Property[] qos)
public PropertiesRepository()
Method Detail |
---|
public void setProperty(java.lang.Object key, java.lang.Object value)
public java.lang.Object getProperty(java.lang.Object key)
public boolean isConnectionReliable()
public boolean isEventReliable()
public int getMaxQueueLength()
public int getMaxConsumers()
public int getMaxSuppliers()
public boolean isRejectNewEvents()
public short getPriority()
public UtcT getStartTime()
public UtcT getStopTime()
public long getTimeout()
public boolean isStartTimeSupported()
public boolean isStopTimeSupported()
public int getMaxEventsPerConsumer()
public short getOrderPolicy()
public short getDiscardPolicy()
public long getPacingInterval()
public int getMaximumBatchSize()
public boolean isQueueMaxPerformance()
public void storeProperties(Property[] props)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |