use of com.tvd12.calabash.persist.BytesMapPersist in project calabash by youngmonkeys.
the class SimpleBytesMapPersistExecutor method delete.
@Override
public void delete(MapSetting mapSetting, Set<ByteArray> keys) {
BytesMapPersist mapPersist = getMapPersist(mapSetting);
if (mapPersist != null) {
PersistDeleteManyAction action = new PersistDeleteManyAction(keys);
addPersistActionToQueue(mapSetting, action);
}
}
use of com.tvd12.calabash.persist.BytesMapPersist in project calabash by youngmonkeys.
the class SimpleBytesMapPersistExecutor method persist.
@Override
public void persist(MapSetting mapSetting, ByteArray key, byte[] value) {
BytesMapPersist mapPersist = getMapPersist(mapSetting);
if (mapPersist != null) {
PersistSaveOneAction action = new PersistSaveOneAction(key, value);
addPersistActionToQueue(mapSetting, action);
}
}
Aggregations