public class MARS extends Object
Constructor and Description |
---|
MARS() |
Modifier and Type | Method and Description |
---|---|
MARSEvent |
getEvent(String name)
Returns last event that has changed specified parameter or null if not found.
|
String |
getValue(String name)
Returns current value of specified parameter or null if not found.
|
void |
putEvent(MARSEvent event)
Puts new event to change corresponding parameter.
|
void |
putEvents(Collection<MARSEvent> events)
Puts collection of events to change corresponding parameters.
|
void |
removeAuthenticEvents(Collection<MARSEvent> events)
Removes collection of authentic events as if they were never put before.
|
void |
setValue(String name,
String value)
Sets new value for specified parameter.
|
void |
setValue(String name,
String value,
long timestamp) |
public String getValue(String name)
public MARSEvent getEvent(String name)
public void putEvent(MARSEvent event)
public void putEvents(Collection<MARSEvent> events)
public void removeAuthenticEvents(Collection<MARSEvent> events)
Copyright © 2015 Devexperts. All Rights Reserved.