Interface CustomData
-
- All Known Implementing Classes:
NullCustomData
public interface CustomData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
Map<String,String>
getData()
long
getDataLoadTime()
long
getId()
long
getLastUsedTime()
long
getUpdateMarker()
String
getValue(String key)
boolean
isDirty()
void
putValue(String key, String value)
String
serialize()
void
setData(Map<String,String> newData)
int
size()
void
updateValues(Map<String,String> newOrChangedValues, Set<String> removedKeys)
-
-
-
Method Detail
-
getId
long getId()
-
updateValues
void updateValues(@NotNull Map<String,String> newOrChangedValues, @NotNull Set<String> removedKeys)
-
clear
void clear()
-
serialize
@NotNull String serialize()
-
isDirty
boolean isDirty()
-
getUpdateMarker
long getUpdateMarker()
-
getLastUsedTime
long getLastUsedTime()
-
getDataLoadTime
long getDataLoadTime()
-
size
int size()
- Returns:
- size of this storage, i.e. number of key/value pairs
-
-