@Test public void testIsSavepoint() throws Exception { { CheckpointProperties props = CheckpointProperties.forCheckpoint(CheckpointRetentionPolicy.RETAIN_ON_FAILURE); assertFalse(props.isSavepoint()); } { CheckpointProperties props = CheckpointProperties.forCheckpoint(CheckpointRetentionPolicy.RETAIN_ON_CANCELLATION); assertFalse(props.isSavepoint()); } { CheckpointProperties props = CheckpointProperties.forSavepoint(); assertTrue(props.isSavepoint()); CheckpointProperties deserializedCheckpointProperties = InstantiationUtil.deserializeObject( InstantiationUtil.serializeObject(props), getClass().getClassLoader()); assertTrue(deserializedCheckpointProperties.isSavepoint()); } }
public boolean isSavepoint() { return checkpointType.isSavepoint(); }
CheckpointProperties implements Serializable { public boolean isSavepoint() { return checkpointType.isSavepoint(); } }
CheckpointProperties implements Serializable { public boolean isSavepoint() { return checkpointType.isSavepoint(); } @VisibleForTesting  CheckpointProperties(
			boolean forced,
			CheckpointType checkpointType,
			boolean discardSubsumed,
			boolean discardFinished,
			boolean discardCancelled,
			boolean discardFailed,
			boolean discardSuspended); }
CheckpointProperties implements Serializable { public boolean isSavepoint() { return checkpointType.isSavepoint(); } @VisibleForTesting  CheckpointProperties(
			boolean forced,
			CheckpointType checkpointType,
			boolean discardSubsumed,
			boolean discardFinished,
			boolean discardCancelled,
			boolean discardFailed,
			boolean discardSuspended); CheckpointType getCheckpointType(); boolean isSavepoint(); boolean isSynchronous(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static CheckpointProperties forSavepoint(); static CheckpointProperties forSyncSavepoint(); static CheckpointProperties forCheckpoint(CheckpointRetentionPolicy policy); }
CheckpointProperties implements Serializable { public boolean isSavepoint() { return checkpointType.isSavepoint(); } @VisibleForTesting  CheckpointProperties(
			boolean forced,
			CheckpointType checkpointType,
			boolean discardSubsumed,
			boolean discardFinished,
			boolean discardCancelled,
			boolean discardFailed,
			boolean discardSuspended); CheckpointType getCheckpointType(); boolean isSavepoint(); boolean isSynchronous(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static CheckpointProperties forSavepoint(); static CheckpointProperties forSyncSavepoint(); static CheckpointProperties forCheckpoint(CheckpointRetentionPolicy policy);  }