* @see ITmfTimestamp
*
* @author Francois Chouinard
- * @since 3.0
*/
public class TmfCheckpoint implements ITmfCheckpoint {
* the corresponding trace location
* @param checkpointRank
* the rank of the checkpoint
- * @since 3.0
*/
public TmfCheckpoint(final ITmfTimestamp timestamp, final ITmfLocation location, long checkpointRank) {
fTimestamp = timestamp;
* the corresponding trace location
* @param bufferIn
* the byte buffer to read from
- *
- * @since 3.0
*/
public TmfCheckpoint(final ITmfTimestamp timestamp, final ITmfLocation location, ByteBuffer bufferIn) {
fTimestamp = timestamp;
// ITmfCheckpoint
// ------------------------------------------------------------------------
- /**
- * @since 2.0
- */
@Override
public ITmfTimestamp getTimestamp() {
return fTimestamp;
return getClass().getSimpleName() + " [fLocation=" + fLocation + ", fTimestamp=" + fTimestamp + ", fCheckpointRank=" + fCheckpointRank + "]";
}
- /**
- * @since 3.0
- */
@Override
public void serialize(ByteBuffer bufferOut) {
fLocation.serialize(bufferOut);
bufferOut.putLong(fCheckpointRank);
}
- /**
- * @since 3.0
- */
@Override
public long getCheckpointRank() {
return fCheckpointRank;