public static class DistributedTask.DistributedRunnableAdapterImpl<V> extends Object implements Serializable, Callable<V>, HazelcastInstanceAware
Constructor and Description |
---|
DistributedTask.DistributedRunnableAdapterImpl(Runnable task,
V result) |
Modifier and Type | Method and Description |
---|---|
V |
call() |
V |
getResult() |
Runnable |
getRunnable() |
void |
setHazelcastInstance(HazelcastInstance hazelcastInstance) |
void |
setRunnable(Runnable runnable) |
public V getResult()
public Runnable getRunnable()
public void setRunnable(Runnable runnable)
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
setHazelcastInstance
in interface HazelcastInstanceAware
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.