use of com.tvd12.calabash.local.setting.EntityMapPersistSetting in project calabash by youngmonkeys.
the class SimpleEntityMapPersistExecutor method addPersistActionToQueue.
protected void addPersistActionToQueue(EntityMapSetting setting, PersistAction action) {
String mapName = setting.getMapName();
EntityMapPersistSetting persistSetting = setting.getPersistSetting();
long writeDelay = persistSetting.getWriteDelay();
PersistActionQueue queue = writeDelay > 0 ? actionQueueManager.getDelayedQueue(mapName) : actionQueueManager.getImmediateQueue(mapName);
queue.add(action);
}
Aggregations