*
* @return null, since the trace has no knowledge of the current location
* @see org.eclipse.tracecompass.tmf.core.trace.ITmfTrace#getCurrentLocation()
- * @since 3.0
*/
@Override
public ITmfLocation getCurrentLocation() {
return null;
}
- /**
- * @since 3.0
- */
@Override
public double getLocationRatio(ITmfLocation location) {
final CtfLocation curLocation = (CtfLocation) location;
* @param location
* ITmfLocation<?>
* @return ITmfContext
- * @since 3.0
*/
@Override
public synchronized ITmfContext seekEvent(final ITmfLocation location) {
// ITmfTraceProperties
// -------------------------------------------
- /**
- * @since 2.0
- */
@Override
public Map<String, String> getTraceProperties() {
Map<String, String> properties = new HashMap<>();
/**
* Gets the list of declared events
- *
- * @since 3.0
*/
@Override
public Set<CtfTmfEventType> getContainedEventTypes() {
* Get an iterator to the trace
*
* @return an iterator to the trace
- * @since 2.0
*/
public ITmfContext createIterator() {
try {
// Timestamp transformation functions
// ------------------------------------------------------------------------
- /**
- * @since 3.0
- */
@Override
public CtfTmfTimestamp createTimestamp(long ts) {
return new CtfTmfTimestamp(getTimestampTransform().transform(ts));
private static int fCheckpointSize = -1;
- /**
- * @since 3.0
- */
@Override
public synchronized int getCheckpointSize() {
if (fCheckpointSize == -1) {
return new TmfBTreeTraceIndexer(this, interval);
}
- /**
- * @since 3.0
- */
@Override
public ITmfLocation restoreLocation(ByteBuffer bufferIn) {
return new CtfLocation(bufferIn);