public class SnapshotCreationService extends Object
| Constructor and Description |
|---|
SnapshotCreationService(List<SnapshotEventGenerator> snapshotEventGenerators,
EventLogWriter eventLogWriter)
Creates the service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createSnapshotEvents(String eventType,
String filter) |
Set<String> |
getSupportedEventTypes() |
public SnapshotCreationService(List<SnapshotEventGenerator> snapshotEventGenerators, EventLogWriter eventLogWriter)
snapshotEventGenerators - the event generators. Each of them must have a different
supported event type.eventLogWriter - The event log writer to which the newly generated snapshot
events are pushed.IllegalStateException - if two event generators declare to be responsible for the same event type.Copyright © 2018. All rights reserved.