Modifier and Type | Class and Description |
---|---|
static class |
JetCommandLine.JetVersionProvider |
static class |
JetCommandLine.Verbosity |
Constructor and Description |
---|
JetCommandLine(Function<ClientConfig,JetInstance> jetClientFn,
PrintStream out,
PrintStream err) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(JetCommandLine.Verbosity verbosity,
String name) |
void |
cluster(JetCommandLine.Verbosity verbosity) |
void |
deleteSnapshot(JetCommandLine.Verbosity verbosity,
String snapshotName) |
void |
listJobs(JetCommandLine.Verbosity verbosity,
boolean listAll) |
void |
listSnapshots(JetCommandLine.Verbosity verbosity,
boolean fullJobName) |
static void |
main(String[] args) |
void |
restart(JetCommandLine.Verbosity verbosity,
String name) |
void |
resume(JetCommandLine.Verbosity verbosity,
String name) |
void |
run() |
void |
saveSnapshot(JetCommandLine.Verbosity verbosity,
String jobName,
String snapshotName,
boolean isTerminal) |
void |
submit(JetCommandLine.Verbosity verbosity,
String snapshotName,
String name,
File file,
List<String> params) |
void |
suspend(JetCommandLine.Verbosity verbosity,
String name) |
public JetCommandLine(Function<ClientConfig,JetInstance> jetClientFn, PrintStream out, PrintStream err)
public static void main(String[] args)
public void submit(JetCommandLine.Verbosity verbosity, String snapshotName, String name, File file, List<String> params) throws Exception
Exception
public void suspend(JetCommandLine.Verbosity verbosity, String name) throws IOException
IOException
public void cancel(JetCommandLine.Verbosity verbosity, String name) throws IOException
IOException
public void saveSnapshot(JetCommandLine.Verbosity verbosity, String jobName, String snapshotName, boolean isTerminal) throws IOException
IOException
public void deleteSnapshot(JetCommandLine.Verbosity verbosity, String snapshotName) throws IOException
IOException
public void restart(JetCommandLine.Verbosity verbosity, String name) throws IOException
IOException
public void resume(JetCommandLine.Verbosity verbosity, String name) throws IOException
IOException
public void listJobs(JetCommandLine.Verbosity verbosity, boolean listAll) throws IOException
IOException
public void listSnapshots(JetCommandLine.Verbosity verbosity, boolean fullJobName) throws IOException
IOException
public void cluster(JetCommandLine.Verbosity verbosity) throws IOException
IOException
Copyright © 2019 Hazelcast, Inc.. All rights reserved.