public interface JetInstance
Modifier and Type | Method and Description |
---|---|
<K,V> IStreamCache<K,V> |
getCache(String name)
Returns the distributed cache instance with the specified name.
|
com.hazelcast.core.Cluster |
getCluster()
Returns information about the cluster this Jet instance is part of.
|
JetConfig |
getConfig()
Returns the configuration for this Jet member.
|
com.hazelcast.core.HazelcastInstance |
getHazelcastInstance()
Returns the underlying Hazelcast IMDG instance used by Jet.
|
<E> IStreamList<E> |
getList(String name)
Returns the distributed list instance with the specified name.
|
<K,V> IStreamMap<K,V> |
getMap(String name)
Returns the distributed map instance with the specified name.
|
String |
getName()
Returns the name of the Jet instance.
|
Job |
newJob(DAG dag)
Creates and returns an executable job based on a given DAG.
|
Job |
newJob(DAG dag,
JobConfig config)
Creates and returns an executable Job based on the supplied DAG and job
configuration.
|
void |
shutdown()
Shutdowns the current instance.
|
String getName()
com.hazelcast.core.HazelcastInstance getHazelcastInstance()
JetInstance
.com.hazelcast.core.Cluster getCluster()
JetConfig getConfig()
Job newJob(DAG dag)
dag
- The DAG that will be used to for the execution of the jobJob
instanceJob newJob(DAG dag, JobConfig config)
Job
instance<K,V> IStreamMap<K,V> getMap(String name)
name
- name of the distributed map<K,V> IStreamCache<K,V> getCache(String name)
name
- name of the distributed cache<E> IStreamList<E> getList(String name)
name
- name of the distributed listvoid shutdown()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.