public class StorageEvent extends Event<StorageEvent.Type>
Base class for events generated by storage modules
Modifier and Type | Class and Description |
---|---|
static class |
StorageEvent.Type
Possible event types for a StorageEvent
|
Constructor and Description |
---|
StorageEvent(long timeStamp,
IStorageModule<?> source,
java.lang.String recordType,
StorageEvent.Type type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRecordType() |
IStorageModule<?> |
getSource()
Gets the source of the event as an object reference.
|
StorageEvent.Type |
getType() |
getTimeStamp
public StorageEvent(long timeStamp, IStorageModule<?> source, java.lang.String recordType, StorageEvent.Type type)
public StorageEvent.Type getType()
getType
in class Event<StorageEvent.Type>
public IStorageModule<?> getSource()
Event
getSource
in class Event<StorageEvent.Type>
public java.lang.String getRecordType()