public final class RunnableAdapter<V> extends Object implements IdentifiedDataSerializable, Callable<V>, HazelcastInstanceAware
| Constructor and Description |
|---|
RunnableAdapter() |
RunnableAdapter(Runnable task) |
| Modifier and Type | Method and Description |
|---|---|
V |
call() |
int |
getFactoryId() |
int |
getId() |
Runnable |
getRunnable() |
void |
readData(ObjectDataInput in) |
void |
setHazelcastInstance(HazelcastInstance hazelcastInstance) |
void |
setRunnable(Runnable runnable) |
String |
toString() |
void |
writeData(ObjectDataOutput out) |
public RunnableAdapter()
public RunnableAdapter(Runnable task)
public Runnable getRunnable()
public void setRunnable(Runnable runnable)
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
setHazelcastInstance in interface HazelcastInstanceAwarepublic void writeData(ObjectDataOutput out) throws IOException
writeData in interface DataSerializableIOExceptionpublic void readData(ObjectDataInput in) throws IOException
readData in interface DataSerializableIOExceptionpublic int getFactoryId()
getFactoryId in interface IdentifiedDataSerializablepublic int getId()
getId in interface IdentifiedDataSerializableCopyright © 2021 Hazelcast, Inc.. All rights reserved.