public class CachingDynamicPbServiceExecutor extends AbstractPbServiceExecutor implements InvocationHandler
Constructor and Description |
---|
CachingDynamicPbServiceExecutor(String invocationName) |
CachingDynamicPbServiceExecutor(String invocationName,
long invocationId,
Endpoint endpoint,
com.opensymphony.oscache.base.Cache cache,
int cacheTtlSec) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
create(String invocationName,
long invocationId,
Endpoint endpoint,
Class<T> interfaceClass,
com.opensymphony.oscache.base.Cache cache,
int cacheTtlSec) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected jp.go.nict.langrid.commons.util.Pair<URLRpcChannel,Long> |
preprocessPb(List<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders) |
postprocessPb
getInvocationName, postprocess, preprocess
public CachingDynamicPbServiceExecutor(String invocationName)
public static <T> T create(String invocationName, long invocationId, Endpoint endpoint, Class<T> interfaceClass, com.opensymphony.oscache.base.Cache cache, int cacheTtlSec)
protected jp.go.nict.langrid.commons.util.Pair<URLRpcChannel,Long> preprocessPb(List<jp.go.nict.langrid.commons.rpc.RpcHeader> rpcHeaders)
preprocessPb
in class AbstractPbServiceExecutor