The Java library for communicating with the ezdb daemon.
import io.codepace.ezdb4j.*;
// Create a new connection to the ezdb daemon
EzdbConnection connection = EzdbConnector.createConnection();
// Get the value of key and store it as a String
String value = connection.get("keyvalue");
// Kill the connection
connection.terminate();
<dependency>
<groupId>io.codepace</groupId>
<artifactId>ezdb4j</artifactId>
<version>0.1.1</version>
<type>pom</type>
</dependency>
repositories {
jcenter()
}
dependencies {
compile 'io.codepace:ezdb4j:0.1.1'
}
<dependency org='io.codepace' name='ezdb4j' rev='0.1.1'>
<artifact name='ezdb4j' ext='pom' ></artifact>
</dependency>