org.obe.spi.service
Interface ApplicationEventBroker.TemporalEventSubscription

All Superinterfaces:
ApplicationEventBroker.EventSubscription
Enclosing interface:
ApplicationEventBroker

public static interface ApplicationEventBroker.TemporalEventSubscription
extends ApplicationEventBroker.EventSubscription

Describes a subscription to one or more temporal events.


Method Summary
 java.lang.String getCalendar()
          Returns the name of the BusinessCalendar to use when performing temporal computations.
 Duration getInterval()
          Returns the interval between events in the series.
 boolean isRecoverable()
          Returns whether events matching the subscription are recoverable.
 
Methods inherited from interface org.obe.spi.service.ApplicationEventBroker.EventSubscription
cancel, decrementCount, getCorrelationKeys, getCount, getEffective, getEventType, getExpiry
 

Method Detail

getInterval

public Duration getInterval()
Returns the interval between events in the series.

Returns:
The interval specification.

getCalendar

public java.lang.String getCalendar()
Returns the name of the BusinessCalendar to use when performing temporal computations. Can be null.

Returns:
The business calendar name.

isRecoverable

public boolean isRecoverable()
Returns whether events matching the subscription are recoverable. Recoverable subscriptions are notified of events that were missed because the server was not running at the time they occurred.

Returns:
true if recoverable.


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.