
org.swisspush.redisques.action.QueueAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redisques Show documentation
Show all versions of redisques Show documentation
A highly scalable redis-persistent queuing system for vertx
package org.swisspush.redisques.action;
import io.vertx.core.eventbus.Message;
import io.vertx.core.json.JsonObject;
import static org.swisspush.redisques.util.RedisquesAPI.*;
public interface QueueAction {
void execute(Message event);
default JsonObject createOkReply() {
return new JsonObject().put(STATUS, OK);
}
default JsonObject createErrorReply() {
return new JsonObject().put(STATUS, ERROR);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy