Package com.hazelcast.jet
Interface JetInstance
-
- All Superinterfaces:
JetService
@Deprecated public interface JetInstance extends JetService
Deprecated.After 5.0 Jet was merged into core Hazelcast product. Jet became a service of Hazelcast instead of being an instance of its own that encapsulatesHazelcastInstance
. Please useJetService
instead.- Since:
- Jet 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description JetCacheManager
getCacheManager()
Deprecated.since 5.0 UseHazelcastInstance.getCacheManager()
instead.Cluster
getCluster()
Deprecated.since 5.0 UseHazelcastInstance.getCluster()
instead.HazelcastInstance
getHazelcastInstance()
Deprecated.since 5.0 Because we first access toHazelcastInstance
and thenJetService
from the product's entry point -Hazelcast
-, we don't need to this back reference anymore.<E> IList<E>
getList(java.lang.String name)
Deprecated.since 5.0 UseHazelcastInstance.getList(String)
instead.<K,V>
IMap<K,V>getMap(java.lang.String name)
Deprecated.since 5.0 UseHazelcastInstance.getMap(String)
instead.java.lang.String
getName()
Deprecated.since 5.0 UseHazelcastInstance.getName()
instead.<E> ITopic<E>
getReliableTopic(java.lang.String name)
Deprecated.since 5.0 UseHazelcastInstance.getReliableTopic(String)
instead.<K,V>
ReplicatedMap<K,V>getReplicatedMap(java.lang.String name)
Deprecated.since 5.0 UseHazelcastInstance.getReplicatedMap(String)
instead.SqlService
getSql()
Deprecated.since 5.0 UseHazelcastInstance.getSql()
instead.void
shutdown()
Deprecated.since 5.0 UseHazelcastInstance.shutdown()
instead.-
Methods inherited from interface com.hazelcast.jet.JetService
getConfig, getJob, getJob, getJobs, getJobs, getJobStateSnapshot, getJobStateSnapshots, getObservable, getObservables, newJob, newJob, newJob, newJob, newJobIfAbsent, newJobIfAbsent, newLightJob, newLightJob, newLightJob, newLightJob, newObservable
-
-
-
-
Method Detail
-
getHazelcastInstance
@Nonnull @Deprecated HazelcastInstance getHazelcastInstance()
Deprecated.since 5.0 Because we first access toHazelcastInstance
and thenJetService
from the product's entry point -Hazelcast
-, we don't need to this back reference anymore. This class made sense when the entry point wasJet
.Returns the underlying Hazelcast instance used by Jet. It will be either a server node or a client, depending on the type of thisJetInstance
.- Since:
- Jet 3.0
-
getName
@Nonnull @Deprecated java.lang.String getName()
Deprecated.since 5.0 UseHazelcastInstance.getName()
instead.- Since:
- Jet 3.0
-
getCluster
@Nonnull @Deprecated Cluster getCluster()
Deprecated.since 5.0 UseHazelcastInstance.getCluster()
instead.- Since:
- Jet 3.0
-
getSql
@Beta @Nonnull @Deprecated SqlService getSql()
Deprecated.since 5.0 UseHazelcastInstance.getSql()
instead.- Since:
- Jet 4.4
-
getMap
@Nonnull @Deprecated <K,V> IMap<K,V> getMap(@Nonnull java.lang.String name)
Deprecated.since 5.0 UseHazelcastInstance.getMap(String)
instead.- Since:
- Jet 3.0
-
getReplicatedMap
@Nonnull @Deprecated <K,V> ReplicatedMap<K,V> getReplicatedMap(@Nonnull java.lang.String name)
Deprecated.since 5.0 UseHazelcastInstance.getReplicatedMap(String)
instead.- Since:
- Jet 3.0
-
getList
@Nonnull @Deprecated <E> IList<E> getList(@Nonnull java.lang.String name)
Deprecated.since 5.0 UseHazelcastInstance.getList(String)
instead.- Since:
- Jet 3.0
-
getReliableTopic
@Nonnull @Deprecated <E> ITopic<E> getReliableTopic(@Nonnull java.lang.String name)
Deprecated.since 5.0 UseHazelcastInstance.getReliableTopic(String)
instead.- Since:
- Jet 3.0
-
getCacheManager
@Deprecated @Nonnull JetCacheManager getCacheManager()
Deprecated.since 5.0 UseHazelcastInstance.getCacheManager()
instead.- Since:
- Jet 3.0
-
shutdown
@Deprecated void shutdown()
Deprecated.since 5.0 UseHazelcastInstance.shutdown()
instead.
-
-