com.hazelcast.core
Interface HazelcastInstanceAware

All Known Subinterfaces:
SecureCallable<V>

public interface HazelcastInstanceAware

Used to get HazelcastInstance reference when submitting a Runnable/Callable using Hazelcast ExecutorService. Before executing the Runnable/Callable Hazelcast will invoke setHazelcastInstance(HazelcastInstance) method with the reference to HazelcastInstance that is executing. This way the implementer will have a chance to get the reference to HazelcastInstance.


Method Summary
 void setHazelcastInstance(HazelcastInstance hazelcastInstance)
           
 

Method Detail

setHazelcastInstance

void setHazelcastInstance(HazelcastInstance hazelcastInstance)


Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.