/**
* The file name of the Synchronization
*
- * @since 3.0
* @deprecated This file name shouldn't be used directly anymore. All
* synchronization files have been moved to a folder and you
* should use the {@link #getSynchronizationFolder(boolean)}
* the experiment index page size
* @param resource
* the resource associated to the experiment
- * @since 3.0
*/
public void initExperiment(final Class<? extends ITmfEvent> type,
final String path,
}
}
- /**
- * @since 2.0
- */
@Override
public IStatus validate(final IProject project, final String path) {
return Status.OK_STATUS;
* @param index
* the event index (rank)
* @return the corresponding event timestamp
- * @since 2.0
*/
public ITmfTimestamp getTimestamp(final int index) {
final ITmfContext context = seekEvent(index);
// Request management
// ------------------------------------------------------------------------
- /**
- * @since 2.0
- */
@Override
public synchronized ITmfContext armRequest(final ITmfEventRequest request) {
// ITmfTrace trace positioning
// ------------------------------------------------------------------------
- /**
- * @since 3.0
- */
@Override
public synchronized ITmfContext seekEvent(final ITmfLocation location) {
// Validate the location
return context;
}
- /**
- * @since 3.0
- */
@Override
public double getLocationRatio(final ITmfLocation location) {
if (location instanceof TmfExperimentLocation) {
return 0.0;
}
- /**
- * @since 3.0
- */
@Override
public ITmfLocation getCurrentLocation() {
// never used
return event;
}
- /**
- * @since 2.0
- */
@Override
public ITmfTimestamp getInitialRangeOffset() {
* @return The path to the folder where synchronization-related
* supplementary files can be kept or <code>null</code> if not
* available.
- * @since 3.2
*/
public String getSynchronizationFolder(boolean absolute) {
/* Set up the path to the synchronization file we'll use */
* read a synchronization file if it exists
*
* @return The synchronization object
- * @since 3.0
*/
public SynchronizationAlgorithm synchronizeTraces() {
return synchronizeTraces(false);
* Whether to actually synchronize or just try opening a sync
* file
* @return The synchronization object
- * @since 3.0
*/
public SynchronizationAlgorithm synchronizeTraces(boolean doSync) {
fSyncLock.lock();
}
}
- /**
- * @since 3.0
- */
@Override
public synchronized int getCheckpointSize() {
int totalCheckpointSize = 0;
return totalCheckpointSize;
}
- /**
- * @since 3.0
- */
@Override
public ITmfLocation restoreLocation(ByteBuffer bufferIn) {
List<ITmfTrace> children = getChildren(ITmfTrace.class);