Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.connecterra.ale.api
Interface ECSubscriptionInfo

public interface ECSubscriptionInfo

Describes administrative information for an event cycle specification.

See Also:
  `ALE.getECSubscriptionInfo(java.lang.String, java.net.URI)`

Method Summary
`int` | `getConsecutiveFailureCount()` Returns the number of failed notifications since the subscription or last successful notification.
`ECSubscriptionControls` | `getControls()` Returns the controls for this subscription.
`long` | `getLastSuccessTime()` Returns the absolute time in milliseconds, as from System.currentTimeMillis(), of the most recent successful notification.

Method Detail

### getControls

    public ECSubscriptionControls getControls()

  Returns the controls for this subscription. This may have different values than the argument passed to subscribe() due to global engine configuration.

### getConsecutiveFailureCount

    public int getConsecutiveFailureCount()

  Returns the number of failed notifications since the subscription or last successful notification. This will return zero if there have been no notifications since the subscription, or if the last notification succeeded.

### getLastSuccessTime

    public long getLastSuccessTime()

  Returns the absolute time in milliseconds, as from System.currentTimeMillis(), of the most recent successful notification. This will return -1 if there has never been a successful notification.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD