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.ServiceActivationExceptionpublic com.basho.riak.client.IRiakClient riakClient()
riakClient in interface RiakAccessorspublic String bucket()
bucket in interface RiakAccessorspublic Reader get(org.qi4j.api.entity.EntityReference entityReference) throws org.qi4j.spi.entitystore.EntityStoreException
get in interface org.qi4j.spi.entitystore.helpers.MapEntityStoreorg.qi4j.spi.entitystore.EntityStoreExceptionpublic void applyChanges(org.qi4j.spi.entitystore.helpers.MapEntityStore.MapChanges changes)
throws IOException
applyChanges in interface org.qi4j.spi.entitystore.helpers.MapEntityStoreIOExceptionpublic org.qi4j.io.Input<Reader,IOException> entityStates()
entityStates in interface org.qi4j.spi.entitystore.helpers.MapEntityStore