public final class Jet extends Object
Modifier and Type | Method and Description |
---|---|
static JetInstance |
newJetClient()
Creates a Jet client with the default configuration.
|
static JetInstance |
newJetClient(ClientConfig config)
Creates a Jet client with the given Hazelcast client configuration.
|
static JetInstance |
newJetInstance()
Creates a member of the Jet cluster with the configuration loaded from
default location.
|
static JetInstance |
newJetInstance(JetConfig config)
Creates a member of the Jet cluster with the given configuration.
|
static void |
shutdownAll()
Shuts down all running Jet client and member instances.
|
@Nonnull public static JetInstance newJetInstance()
@Nonnull public static JetInstance newJetInstance(@Nonnull JetConfig config)
@Nonnull public static JetInstance newJetClient()
@Nonnull public static JetInstance newJetClient(@Nonnull ClientConfig config)
JetClientConfig
may be used to create a configuration with the
default group name for Jet.
public static void shutdownAll()
Copyright © 2020 Hazelcast, Inc.. All rights reserved.