Skip to content
AnirudhRamanan edited this page Mar 21, 2016 · 2 revisions

Data is a base class, which the client will need to extend his custom data class from Data class. It uses a eventId field, which is basically the timestamp when the event got generated (System.currentTimeMillis() + System.nanoTime()).

It is a serializable class, as it will be serialized and deserialized while saving and retrieving from the persistence layer used.

The library has a EventData class, which extends the Data class. Either the client can use this class for all his events, or he can provide his own implementation. Similarly, for TagBatchingStrategy, the library has a TagData class.

Clone this wiki locally