org.openorb.notify

Class PropertiesRepository

public class PropertiesRepository extends Object implements Cloneable

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[]).

Author: Olivier Modica

Constructor Summary
PropertiesRepository(Property[] qos, Property[] admin)
Constructor
PropertiesRepository(Property[] qos)
Constructor
PropertiesRepository()
Constructor
Method Summary
shortgetDiscardPolicy()
DiscardPolicy getter
intgetMaxConsumers()
MaxConsumers getter
intgetMaxEventsPerConsumer()
MaxEventsPerConsumer getter
intgetMaximumBatchSize()
MaximumBatchSize getter
intgetMaxQueueLength()
MaxQueueLength getter
intgetMaxSuppliers()
MaxSuppliers getter
shortgetOrderPolicy()
OrderPolicy getter
longgetPacingInterval()
PacingInterval getter
shortgetPriority()
Priority getter
ObjectgetProperty(Object key)
This methods gets a property.
UtcTgetStartTime()
StartTime getter
UtcTgetStopTime()
StopTime getter
longgetTimeout()
Timeout getter
booleanisConnectionReliable()
ConnectionReliability getter
booleanisEventReliable()
EventReliability getter
booleanisQueueMaxPerformance()
EventQueuePerformance getter (OpenORB only)
booleanisRejectNewEvents()
RejectNewEvents getter
booleanisStartTimeSupported()
StartTimeSupported getter
booleanisStopTimeSupported()
StopTimeSupported getter
voidsetProperty(Object key, Object value)
This methods sets a property.
voidstoreProperties(Property[] props)
This methods uses a Property list ( Admin or QoS properties ) to store the properties in the helper.
StringtoString()

Constructor Detail

PropertiesRepository

public PropertiesRepository(Property[] qos, Property[] admin)
Constructor

PropertiesRepository

public PropertiesRepository(Property[] qos)
Constructor

PropertiesRepository

public PropertiesRepository()
Constructor

Method Detail

getDiscardPolicy

public short getDiscardPolicy()
DiscardPolicy getter

getMaxConsumers

public int getMaxConsumers()
MaxConsumers getter

getMaxEventsPerConsumer

public int getMaxEventsPerConsumer()
MaxEventsPerConsumer getter

getMaximumBatchSize

public int getMaximumBatchSize()
MaximumBatchSize getter

getMaxQueueLength

public int getMaxQueueLength()
MaxQueueLength getter

getMaxSuppliers

public int getMaxSuppliers()
MaxSuppliers getter

getOrderPolicy

public short getOrderPolicy()
OrderPolicy getter

getPacingInterval

public long getPacingInterval()
PacingInterval getter

getPriority

public short getPriority()
Priority getter

getProperty

public Object getProperty(Object key)
This methods gets a property. This property is used by an event channel and its children.

getStartTime

public UtcT getStartTime()
StartTime getter

getStopTime

public UtcT getStopTime()
StopTime getter

getTimeout

public long getTimeout()
Timeout getter

isConnectionReliable

public boolean isConnectionReliable()
ConnectionReliability getter

isEventReliable

public boolean isEventReliable()
EventReliability getter

isQueueMaxPerformance

public boolean isQueueMaxPerformance()
EventQueuePerformance getter (OpenORB only)

isRejectNewEvents

public boolean isRejectNewEvents()
RejectNewEvents getter

isStartTimeSupported

public boolean isStartTimeSupported()
StartTimeSupported getter

isStopTimeSupported

public boolean isStopTimeSupported()
StopTimeSupported getter

setProperty

public void setProperty(Object key, Object value)
This methods sets a property. This property will be used by an event channel and its children.

storeProperties

public void storeProperties(Property[] props)
This methods uses a Property list ( Admin or QoS properties ) to store the properties in the helper.

toString

public String toString()