/** * Initiate a data store garbage collection operation. * * @param markOnly whether to only mark references and not sweep in the mark and sweep operation. * @return the status of the operation right after it was initiated */ CompositeData startBlobGC(@Name("markOnly") @Description("Set to true to only mark references and not sweep in the mark and sweep operation. " + "This mode is to be used when the underlying BlobStore is shared between multiple " + "different repositories. For all other cases set it to false to perform full garbage collection") boolean markOnly);
@Description("Performs consistency check on given index") String checkConsistency(@Name("indexPath") String indexPath, @Name("fullCheck") @Description("If set to true a full check would be performed which can be slow as " + "it reads all index files. If set to false a quick check is performed to " + "check if all blobs referred in index files are present in BlobStore") boolean fullCheck) throws IOException;
boolean importIndex( @Name("indexDirPath") @Description("Path on server file system where index content generated by oak-run is present") String indexDirPath, @Name("ignoreLocalLock") @Description("Useful for importing generated content during startup when IndexMBean instances" + " might not be available") boolean ignoreLocalLock ) throws IOException, CommitFailedException; }
/** * Initiate a data store garbage collection operation. * * @param markOnly whether to only mark references and not sweep in the mark and sweep operation. * @return the status of the operation right after it was initiated */ CompositeData startBlobGC(@Name("markOnly") @Description("Set to true to only mark references and not sweep in the mark and sweep operation. " + "This mode is to be used when the underlying BlobStore is shared between multiple " + "different repositories. For all other cases set it to false to perform full garbage collection") boolean markOnly);
boolean importIndex( @Name("indexDirPath") @Description("Path on server file system where index content generated by oak-run is present") String indexDirPath, @Name("ignoreLocalLock") @Description("Useful for importing generated content during startup when IndexMBean instances" + " might not be available") boolean ignoreLocalLock ) throws IOException, CommitFailedException; }
@Description("Performs consistency check on given index") String checkConsistency(@Name("indexPath") String indexPath, @Name("fullCheck") @Description("If set to true a full check would be performed which can be slow as " + "it reads all index files. If set to false a quick check is performed to " + "check if all blobs referred in index files are present in BlobStore") boolean fullCheck) throws IOException;
/** * Initiate a data store garbage collection operation. * * @param markOnly whether to only mark references and not sweep in the mark and sweep operation. * @return the status of the operation right after it was initiated */ CompositeData startBlobGC(@Name("markOnly") @Description("Set to true to only mark references and not sweep in the mark and sweep operation. " + "This mode is to be used when the underlying BlobStore is shared between multiple " + "different repositories. For all other cases set it to false to perform full garbage collection") boolean markOnly);
boolean importIndex( @Name("indexDirPath") @Description("Path on server file system where index content generated by oak-run is present") String indexDirPath, @Name("ignoreLocalLock") @Description("Useful for importing generated content during startup when IndexMBean instances" + " might not be available") boolean ignoreLocalLock ) throws IOException, CommitFailedException; }
/** * Splits the current indexing tasks into 2, indexes that are passed in as * an input will have their 'async' property updated to * {@code newIndexTaskName}. * * Note that this call will *not* bootstrap a new indexing task for the * given name. */ void splitIndexingTask( @Name("paths") @Description("Comma separated list of paths of the index definitions") String paths, @Name("newIndexTaskName") @Description("The indexing task name set on the async property") String newIndexTaskName);
/** * Splits the current indexing tasks into 2, indexes that are passed in as * an input will have their 'async' property updated to * {@code newIndexTaskName}. * * Note that this call will *not* bootstrap a new indexing task for the * given name. */ void splitIndexingTask( @Name("paths") @Description("Comma separated list of paths of the index definitions") String paths, @Name("newIndexTaskName") @Description("The indexing task name set on the async property") String newIndexTaskName);
/** * Splits the current indexing tasks into 2, indexes that are passed in as * an input will have their 'async' property updated to * {@code newIndexTaskName}. * * Note that this call will *not* bootstrap a new indexing task for the * given name. */ void splitIndexingTask( @Name("paths") @Description("Comma separated list of paths of the index definitions") String paths, @Name("newIndexTaskName") @Description("The indexing task name set on the async property") String newIndexTaskName);
boolean importIndex( @Name("indexDirPath") @Description("Path on server file system where index content generated by oak-run is present") String indexDirPath) throws IOException, CommitFailedException;
@Description("Returns the diff of index definition for index at given path from the stored index definition in " + "string form") String diffStoredIndexDefinition(@Name("indexPath") String indexPath);
boolean importIndex( @Name("indexDirPath") @Description("Path on server file system where index content generated by oak-run is present") String indexDirPath) throws IOException, CommitFailedException;
boolean importIndex( @Name("indexDirPath") @Description("Path on server file system where index content generated by oak-run is present") String indexDirPath) throws IOException, CommitFailedException;
@Description("Returns the diff of index definition for index at given path from the stored index definition in " + "string form") String diffStoredIndexDefinition(@Name("indexPath") String indexPath);
/** * Initiate a data store garbage collection operation. * * @param markOnly whether to only mark references and not sweep in the mark and sweep operation. * @param forceBlobIdRetrieve whether to force retrieve blob ids from datastore * @return the status of the operation right after it was initiated */ CompositeData startBlobGC(@Name("markOnly") @Description("Set to true to only mark references and not sweep in the mark and sweep operation. " + "This mode is to be used when the underlying BlobStore is shared between multiple " + "different repositories. For all other cases set it to false to perform full garbage collection") boolean markOnly, @Name("forceBlobIdRetrieve") @Description("Set to true to force retrieve all ids from the datastore bypassing any local tracking") boolean forceBlobIdRetrieve);