public class RiakHttpMapEntityStoreMixin extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
bucketKey |
protected static int |
DEFAULT_MAX_CONNECTIONS |
protected static org.slf4j.Logger |
LOGGER |
protected com.basho.riak.client.IRiakClient |
riakClient |
Constructor and Description |
---|
RiakHttpMapEntityStoreMixin() |
Modifier and Type | Method and Description |
---|---|
void |
activateService() |
void |
applyChanges(org.qi4j.spi.entitystore.helpers.MapEntityStore.MapChanges changes) |
String |
bucket() |
org.qi4j.io.Input<Reader,IOException> |
entityStates() |
Reader |
get(org.qi4j.api.entity.EntityReference entityReference) |
void |
passivateService() |
com.basho.riak.client.IRiakClient |
riakClient() |
protected static final org.slf4j.Logger LOGGER
protected static final int DEFAULT_MAX_CONNECTIONS
protected com.basho.riak.client.IRiakClient riakClient
protected String bucketKey
public void passivateService() throws Exception
passivateService
in interface org.qi4j.api.service.ServiceActivation
Exception
public com.basho.riak.client.IRiakClient riakClient()
riakClient
in interface RiakAccessors
public String bucket()
bucket
in interface RiakAccessors
public Reader get(org.qi4j.api.entity.EntityReference entityReference) throws org.qi4j.spi.entitystore.EntityStoreException
get
in interface org.qi4j.spi.entitystore.helpers.MapEntityStore
org.qi4j.spi.entitystore.EntityStoreException
public void applyChanges(org.qi4j.spi.entitystore.helpers.MapEntityStore.MapChanges changes) throws IOException
applyChanges
in interface org.qi4j.spi.entitystore.helpers.MapEntityStore
IOException
public org.qi4j.io.Input<Reader,IOException> entityStates()
entityStates
in interface org.qi4j.spi.entitystore.helpers.MapEntityStore