public abstract class AbstractCommandInterceptor<K,V> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DataStoreContext<K,V> |
dsc |
protected String |
storeName |
| Constructor and Description |
|---|
AbstractCommandInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CommandManager |
getCommandManager() |
DataStoreContext<K,V> |
getDataStoreContext() |
AbstractCommandInterceptor<K,V> |
getNext() |
AbstractCommandInterceptor<K,V> |
getPrev() |
void |
initialize(DataStoreContext<K,V> dsc) |
void |
onReceive(Command<K,V> cmd,
String initiator) |
void |
onTransmit(Command<K,V> cmd,
String initiator) |
void |
setNext(AbstractCommandInterceptor<K,V> next) |
void |
setPrev(AbstractCommandInterceptor<K,V> prev) |
protected String storeName
protected DataStoreContext<K,V> dsc
public void initialize(DataStoreContext<K,V> dsc)
public final DataStoreContext<K,V> getDataStoreContext()
public CommandManager getCommandManager()
public final void setNext(AbstractCommandInterceptor<K,V> next)
public final void setPrev(AbstractCommandInterceptor<K,V> prev)
public final AbstractCommandInterceptor<K,V> getNext()
public final AbstractCommandInterceptor<K,V> getPrev()
public void onTransmit(Command<K,V> cmd, String initiator) throws DataStoreException
DataStoreExceptionpublic void onReceive(Command<K,V> cmd, String initiator) throws DataStoreException
DataStoreExceptionpublic void close()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.