public class RiakHttpMapEntityStoreMixin extends Object
ServiceActivation.ServiceActivatorMapEntityStore.MapChanger, MapEntityStore.MapChanges| 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()
Called after ServiceComposite Activation.
|
void |
applyChanges(MapEntityStore.MapChanges changes) |
String |
bucket() |
Input<Reader,IOException> |
entityStates() |
Reader |
get(EntityReference entityReference) |
void |
passivateService()
Called before ServiceComposite Passivation.
|
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 activateService()
throws Exception
ServiceActivationExceptionpublic void passivateService()
throws Exception
ServiceActivationpassivateService in interface ServiceActivationExceptionpublic com.basho.riak.client.IRiakClient riakClient()
riakClient in interface RiakAccessorspublic String bucket()
bucket in interface RiakAccessorspublic Reader get(EntityReference entityReference) throws EntityStoreException
get in interface MapEntityStoreentityReference - The reference to the entity that we want to get.EntityStoreExceptionpublic void applyChanges(MapEntityStore.MapChanges changes) throws IOException
applyChanges in interface MapEntityStoreIOExceptionpublic Input<Reader,IOException> entityStates()
entityStates in interface MapEntityStore