/** * Returns the ack timestamp of the latest acknowledged subtask or * <code>-1</code> if none was acknowledged yet. * * @return Ack timestamp of the latest acknowledged subtask or <code>-1</code>. */ public long getLatestAckTimestamp() { SubtaskStateStats subtask = getLatestAcknowledgedSubtaskStats(); if (subtask != null) { return subtask.getAckTimestamp(); } else { return -1; } }
/** * Returns the duration of this checkpoint calculated as the time since * triggering until the latest acknowledged subtask or <code>-1</code> if * no subtask was acknowledged yet. * * @return Duration of this checkpoint or <code>-1</code> if no subtask was acknowledged yet. */ public long getEndToEndDuration() { SubtaskStateStats subtask = getLatestAcknowledgedSubtaskStats(); if (subtask != null) { return Math.max(0, subtask.getAckTimestamp() - triggerTimestamp); } else { return -1; } }
/** * Returns the ack timestamp of the latest acknowledged subtask or * <code>-1</code> if none was acknowledged yet. * * @return Ack timestamp of the latest acknowledged subtask or <code>-1</code>. */ public long getLatestAckTimestamp() { SubtaskStateStats subtask = getLatestAcknowledgedSubtaskStats(); if (subtask != null) { return subtask.getAckTimestamp(); } else { return -1; } }
/** * Returns the duration of this checkpoint calculated as the time since * triggering until the latest acknowledged subtask or <code>-1</code> if * no subtask was acknowledged yet. * * @return Duration of this checkpoint or <code>-1</code> if no subtask was acknowledged yet. */ public long getEndToEndDuration() { SubtaskStateStats subtask = getLatestAcknowledgedSubtaskStats(); if (subtask != null) { return Math.max(0, subtask.getAckTimestamp() - triggerTimestamp); } else { return -1; } }
/** * Returns the ack timestamp of the latest acknowledged subtask or * <code>-1</code> if none was acknowledged yet. * * @return Ack timestamp of the latest acknowledged subtask or <code>-1</code>. */ public long getLatestAckTimestamp() { SubtaskStateStats subtask = getLatestAcknowledgedSubtaskStats(); if (subtask != null) { return subtask.getAckTimestamp(); } else { return -1; } }
/** * Returns the ack timestamp of the latest acknowledged subtask or * <code>-1</code> if none was acknowledged yet. * * @return Ack timestamp of the latest acknowledged subtask or <code>-1</code>. */ public long getLatestAckTimestamp() { SubtaskStateStats subtask = getLatestAcknowledgedSubtaskStats(); if (subtask != null) { return subtask.getAckTimestamp(); } else { return -1; } }
/** * Returns the duration of this checkpoint calculated as the time since * triggering until the latest acknowledged subtask or <code>-1</code> if * no subtask was acknowledged yet. * * @return Duration of this checkpoint or <code>-1</code> if no subtask was acknowledged yet. */ public long getEndToEndDuration() { SubtaskStateStats subtask = getLatestAcknowledgedSubtaskStats(); if (subtask != null) { return Math.max(0, subtask.getAckTimestamp() - triggerTimestamp); } else { return -1; } }
/** * Returns the duration of this checkpoint calculated as the time since * triggering until the latest acknowledged subtask or <code>-1</code> if * no subtask was acknowledged yet. * * @return Duration of this checkpoint or <code>-1</code> if no subtask was acknowledged yet. */ public long getEndToEndDuration() { SubtaskStateStats subtask = getLatestAcknowledgedSubtaskStats(); if (subtask != null) { return Math.max(0, subtask.getAckTimestamp() - triggerTimestamp); } else { return -1; } }