cgl.narada.service.qos.impl
Class QosIdentifiersImpl

java.lang.Object
  extended by cgl.narada.service.qos.impl.QosIdentifiersImpl
All Implemented Interfaces:
QosIdentifiers

public class QosIdentifiersImpl
extends Object
implements QosIdentifiers

The QosIdentofiers can be used to achieve various delivery schemes such as all-or-none, at-most-once, at-least-once, exactly-once, causal-ordered, publisher-ordered, time-constrained


Constructor Summary
protected QosIdentifiersImpl()
           
 
Method Summary
 boolean hasSatisfiedCausalConstraints()
          Has satisfied any causal constraints that might be contained in the event
 boolean hasSatisfiedTimingConstraints()
          This would be based on the global NaradaBrokering clock
 boolean isArchived()
          Indicates if the event in question has been archived.
 boolean isDuplicate()
          Indicates if this event is a duplicate event
 boolean isOrdered()
          Indicates whether the event has satisfied ordering constraints and is ready for release.
 boolean isTimeOrdered()
          Checks to see if the event is ordered in time based on the NB clock
 boolean isTimeSpaced()
          Checks to see if the event has satisfied Time Differential Service (TDS) time-spacing requirements
protected  void setArchived()
           
protected  void setDuplicate()
           
protected  void setOrdered()
           
protected  void setSatisfiedCausalConstraints()
           
protected  void setSatisfiedTimingConstraints()
           
 void setTimeOrdered()
           
protected  void setTimeSpaced()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QosIdentifiersImpl

protected QosIdentifiersImpl()
Method Detail

isArchived

public boolean isArchived()
Indicates if the event in question has been archived. This can be used to implement the all-or-none primitive.

Specified by:
isArchived in interface QosIdentifiers

setArchived

protected void setArchived()

hasSatisfiedCausalConstraints

public boolean hasSatisfiedCausalConstraints()
Has satisfied any causal constraints that might be contained in the event

Specified by:
hasSatisfiedCausalConstraints in interface QosIdentifiers

setSatisfiedCausalConstraints

protected void setSatisfiedCausalConstraints()

isDuplicate

public boolean isDuplicate()
Indicates if this event is a duplicate event

Specified by:
isDuplicate in interface QosIdentifiers

setDuplicate

protected void setDuplicate()

isOrdered

public boolean isOrdered()
Indicates whether the event has satisfied ordering constraints and is ready for release. Specifically publisher ordering

Specified by:
isOrdered in interface QosIdentifiers

setOrdered

protected void setOrdered()

hasSatisfiedTimingConstraints

public boolean hasSatisfiedTimingConstraints()
This would be based on the global NaradaBrokering clock

Specified by:
hasSatisfiedTimingConstraints in interface QosIdentifiers

setSatisfiedTimingConstraints

protected void setSatisfiedTimingConstraints()

isTimeOrdered

public boolean isTimeOrdered()
Checks to see if the event is ordered in time based on the NB clock

Specified by:
isTimeOrdered in interface QosIdentifiers

setTimeOrdered

public void setTimeOrdered()

isTimeSpaced

public boolean isTimeSpaced()
Checks to see if the event has satisfied Time Differential Service (TDS) time-spacing requirements

Specified by:
isTimeSpaced in interface QosIdentifiers

setTimeSpaced

protected void setTimeSpaced()


For comments and suggestions please send e-mail to The NaradaBrokering Project