LOG.warning("Warning, this type of State can't store JsonNodes, only Serializable objects. This JsonNode is stored as string.");
return locPutIfUnchanged(key, newVal.toString(), oldVal.toString());
}
public synchronized Serializable locPut(String key, Serializable value) {
ObjectMapper om = JOM.getInstance();
locPut(key, om.valueToTree(value));
return value;
}
public boolean locPutIfUnchanged(String key, Serializable newVal,
Serializable oldVal) {
ObjectMapper om = JOM.getInstance();