public class CacheWriterServer.WriteOperationHandler extends Object implements OperationHandler
OperationHandler
for a CacheWriter.write(javax.cache.Cache.Entry)
operation.Constructor and Description |
---|
CacheWriterServer.WriteOperationHandler() |
Modifier and Type | Method and Description |
---|---|
String |
getType()
The type of the operation.
|
void |
onProcess(ObjectInputStream ois,
ObjectOutputStream oos)
|
public CacheWriterServer.WriteOperationHandler()
public String getType()
getType
in interface OperationHandler
public void onProcess(ObjectInputStream ois, ObjectOutputStream oos) throws IOException, ClassNotFoundException
onProcess
in interface OperationHandler
ois
- the ObjectInputStream
to read information from the
Client
, typically parameters from an Operation
oos
- the ObjectOutputStream
to write information to the
Client
, typically the result of an Operation
IOException
- if either of the streams can't be read/written toClassNotFoundException
- if a requested class can't be loadedCopyright © 2014. All Rights Reserved.