protected class UpdateEventPublisherImpl.Subscription extends Object
UpdateEventSubscriber
is interested in.Constructor and Description |
---|
Subscription()
Construct a subscription.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPriority()
Return true if it is a priority subscription.
|
boolean |
isSubscribed(DBObjectType type)
Return true if the event type is subscribed.
|
void |
setPriority(boolean priority)
Set the priority.
|
void |
subscribe(DBObjectType type)
Subscribe to an event type.
|
void |
unsubscribe(DBObjectType type)
Cancel the subscription to an event type.
|
public boolean isPriority()
public void setPriority(boolean priority)
priority
- if true, the subscription will be treated before non-priority subscriptionspublic boolean isSubscribed(DBObjectType type)
type
- a database object typepublic void subscribe(DBObjectType type)
type
- a database object typepublic void unsubscribe(DBObjectType type)
type
- a database object typeCopyright © 2017. All rights reserved.