public final class JobStateSnapshot extends Object
Job.exportSnapshot(String)
.Constructor and Description |
---|
JobStateSnapshot(HazelcastInstance instance,
String name,
com.hazelcast.jet.impl.SnapshotValidationRecord record)
This constructor is a private API, use
JetService.getJobStateSnapshot(String) instead. |
Modifier and Type | Method and Description |
---|---|
long |
creationTime()
Returns the time the snapshot was created.
|
String |
dagJsonString()
Returns the JSON representation of the DAG of the job this snapshot was
created from.
|
void |
destroy()
Destroy the underlying distributed object.
|
long |
jobId()
Returns the job ID of the job the snapshot was originally exported from.
|
String |
jobName()
Returns the job name of the job the snapshot was originally exported
from.
|
String |
name()
Returns the snapshot name.
|
long |
payloadSize()
Returns the size in bytes of the payload data of the state snapshot.
|
@PrivateApi public JobStateSnapshot(@Nonnull HazelcastInstance instance, @Nonnull String name, @Nonnull com.hazelcast.jet.impl.SnapshotValidationRecord record)
JetService.getJobStateSnapshot(String)
instead.@Nonnull public String name()
Job.exportSnapshot(String)
.public long creationTime()
public long jobId()
@Nullable public String jobName()
public long payloadSize()
@Nonnull public String dagJsonString()
public void destroy()
Copyright © 2021 Hazelcast, Inc.. All rights reserved.