public class EventDescriptor extends AbstractEntry
| Modifier and Type | Field and Description |
|---|---|
Class |
eventClass
The event classes Class that this EventDescriptor describes
|
Long |
eventID
The event class event identifier.
|
| Constructor and Description |
|---|
EventDescriptor()
Construct an EventDescriptor with attributes set to null
|
EventDescriptor(Class eventClass)
Construct an EventDescriptor with a class
|
EventDescriptor(Class eventClass,
long eventID)
Construct an EventDescriptor with a class and long event ID.
|
EventDescriptor(Class eventClass,
Long eventID)
Construct an EventDescriptor with a class and an event ID.
|
EventDescriptor(long eventID)
Construct an EventDescriptor with a long event ID.
|
EventDescriptor(Long eventID)
Construct an EventDescriptor with a Long event ID.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(EventDescriptor template)
Determine whether the provided EventDescriptor matches properties of this EventDescriptor
|
String |
toString()
Produce a String representation of an EventDescriptor
|
public Class eventClass
public Long eventID
public EventDescriptor()
public EventDescriptor(Class eventClass)
public EventDescriptor(long eventID)
public EventDescriptor(Long eventID)
public EventDescriptor(Class eventClass, long eventID)
public boolean matches(EventDescriptor template)
eventID and eventClass are
null, return true. eventID is null, and the eventClass property is not
null, return whether the provided EventDescriptor property
eventClass is equal to the eventClass property eventID property is null, return false. eventID property is not null, and the provided EventDescriptor
eventID property is not null, return whether the provided
EventDescriptor property eventID is equal to the eventID property
NullPointerException - if the the provided EventDescriptor is nullpublic String toString()
toString in class AbstractEntryAbstractEntry.toString(this)Copyright © GigaSpaces.