public class InternalSpaceTaskWrapper<T extends Serializable> extends Object implements SpaceTask<T>, SpaceTaskWrapper, Externalizable
Constructor and Description |
---|
InternalSpaceTaskWrapper() |
InternalSpaceTaskWrapper(Task<T> task,
Object routing) |
Modifier and Type | Method and Description |
---|---|
T |
execute(IJSpace space,
Transaction tx) |
Object |
getRouting() |
Task<T> |
getTask() |
Object |
getWrappedTask() |
boolean |
isOneTime() |
void |
readExternal(ObjectInput in) |
void |
setRouting(Object routing) |
void |
writeExternal(ObjectOutput out) |
public boolean isOneTime()
isOneTime
in interface SpaceTaskWrapper
public T execute(IJSpace space, Transaction tx) throws Exception
execute
in interface SpaceTask<T extends Serializable>
Exception
public Object getWrappedTask()
getWrappedTask
in interface SpaceTaskWrapper
public Object getRouting()
public void setRouting(Object routing)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.