All objects that can be added to a Storage object need to extend this class.
More...
|
| Event () |
| Constructor for Event.
|
|
abstract int | getID () |
|
long | getKey () |
|
int | getSize () |
|
long | getTTL () |
|
abstract boolean | isPersistent () |
|
abstract void | read (fEventInputStream eventInputStream) throws IOException, ClassNotFoundException |
| Constructs this event by deserialising from a stream. More...
|
|
void | setKey (long newKey) |
| Sets the event's key attribute. More...
|
|
abstract void | write (fEventOutputStream eventOutputStream) throws IOException |
| Serialises this event to an output stream. More...
|
|
All objects that can be added to a Storage object need to extend this class.
abstract int com.softwareag.um.storage.Event.getID |
( |
| ) |
|
|
pure virtual |
long com.softwareag.um.storage.Event.getKey |
( |
| ) |
|
- Returns
- The event's key attribute
EventProxy com.softwareag.um.storage.Event.getProxy |
( |
| ) |
|
|
protected |
int com.softwareag.um.storage.Event.getSize |
( |
| ) |
|
long com.softwareag.um.storage.Event.getTTL |
( |
| ) |
|
abstract boolean com.softwareag.um.storage.Event.isPersistent |
( |
| ) |
|
|
pure virtual |
- Returns
- True if the event is persistent
abstract void com.softwareag.um.storage.Event.read |
( |
fEventInputStream |
eventInputStream | ) |
throws IOException, ClassNotFoundException |
|
pure virtual |
Constructs this event by deserialising from a stream.
- Parameters
-
eventInputStream,: | The stream to read from |
- Exceptions
-
IOException | |
ClassNotFoundException | |
void com.softwareag.um.storage.Event.setKey |
( |
long |
newKey | ) |
|
Sets the event's key attribute.
- Parameters
-
newKey,: | The new key to set |
abstract void com.softwareag.um.storage.Event.write |
( |
fEventOutputStream |
eventOutputStream | ) |
throws IOException |
|
pure virtual |
Serialises this event to an output stream.
- Parameters
-
eventOutputStream,: | The stream to write to. |
- Exceptions
-