com.hazelcast.core
Class DistributedTask.DistributedRunnableAdapterImpl<V>
java.lang.Object
com.hazelcast.core.DistributedTask.DistributedRunnableAdapterImpl<V>
- All Implemented Interfaces:
- HazelcastInstanceAware, Serializable, Callable<V>
- Enclosing class:
- DistributedTask<V>
public static class DistributedTask.DistributedRunnableAdapterImpl<V>
- extends Object
- implements Serializable, Callable<V>, HazelcastInstanceAware
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributedTask.DistributedRunnableAdapterImpl
public DistributedTask.DistributedRunnableAdapterImpl(Runnable task,
V result)
getResult
public V getResult()
getRunnable
public Runnable getRunnable()
call
public V call()
- Specified by:
call
in interface Callable<V>
setHazelcastInstance
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
- Specified by:
setHazelcastInstance
in interface HazelcastInstanceAware
Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.