Package blue.contract.simulator
Class SimulatorMT
java.lang.Object
blue.contract.simulator.SimulatorMT
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendEntry(String timelineId, Object message) appendEntry(String timelineId, String threadId, Object message) createTimeline(String owner) <T> TgetMessageFromLastTimelineEntry(String timelineId, Class<T> clazz) voidvoidshutdown()voidsubscribe(Predicate<SimulatorTimelineEntry<Object>> filter, SimulatorMT.TimelineEntryConsumer consumer)
-
Constructor Details
-
SimulatorMT
public SimulatorMT(blue.language.Blue blue)
-
-
Method Details
-
createTimeline
-
appendEntry
-
appendEntry
-
subscribe
public void subscribe(Predicate<SimulatorTimelineEntry<Object>> filter, SimulatorMT.TimelineEntryConsumer consumer) -
shutdown
public void shutdown() -
getMessageFromLastTimelineEntry
-
save
public void save(String timelineId, int skipEntries, String directory, String filePrefix) throws IOException - Throws:
IOException
-