osprey

Another redis java client.

Лицензия

Лицензия

Группа

Группа

com.juhuasuan
Идентификатор

Идентификатор

osprey
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

osprey
Another redis java client.
Ссылка на сайт

Ссылка на сайт

https://github.com/echozhjun/osprey
Система контроля версий

Система контроля версий

https://github.com/echozhjun/osprey

Скачать osprey

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.juhuasuan/osprey/ -->
<dependency>
    <groupId>com.juhuasuan</groupId>
    <artifactId>osprey</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.juhuasuan/osprey/
implementation 'com.juhuasuan:osprey:1.0.1'
// https://jarcasting.com/artifacts/com.juhuasuan/osprey/
implementation ("com.juhuasuan:osprey:1.0.1")
'com.juhuasuan:osprey:jar:1.0.1'
<dependency org="com.juhuasuan" name="osprey" rev="1.0.1">
  <artifact name="osprey" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.juhuasuan', module='osprey', version='1.0.1')
)
libraryDependencies += "com.juhuasuan" % "osprey" % "1.0.1"
[com.juhuasuan/osprey "1.0.1"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.caucho : hessian jar 4.0.7

provided (2)

Идентификатор библиотеки Тип Версия
commons-logging : commons-logging jar 1.1
log4j : log4j jar 1.2.16

Модули Проекта

Данный проект не имеет модулей.

Osprey

Osprey is a little java tool.

Osprey makes a way that you want execute something ultimately by persistent staffs in to file.

[Dowload] (https://github.com/downloads/echozhjun/osprey/osprey-1.0.0.jar, "download")

QuikStart

public class OspreyManagerTest {

    public static void main(String[] args) {
//        BasicConfigurator.configure();
        OspreyManager ospreyManager = new OspreyManager("osprey-test");
        ospreyManager.registerProcessor(new TestProcessor());
        ospreyManager.init();
        Message message = new TestMessage();
        Result result = ospreyManager.addMessage(message, false);
        System.out.println(result.isSuccess());
        result = ospreyManager.commitMessage(message, result);
        System.out.println(result.isSuccess());
    }

    public static class TestMessage extends Message {

        private static final long serialVersionUID = -9006052790210673532L;

    }

    public static class TestProcessor implements OspreyProcessor<TestMessage> {

        /**
         * @return
         */
        public Class<TestMessage> interest() {
            return TestMessage.class;
        }

        /**
         * @param event
         * @return
         */
        public Result process(TestMessage event) {
            System.out.println("Handled event" + event);
            Result result = new Result();
            result.setSuccess(false);
            return result;
        }

    }

}

Версии библиотеки

Версия
1.0.1
1.0.0