/** * Whether to capture a thread dump in addition to the thread name. * No thread name / thread dump is captures for internal queries. * * @param captureStackTraces the new valu */ @Description("Enable / disable capturing the thread dumps (in addition to the thread name).") void setCaptureStackTraces(boolean captureStackTraces);
/** * Whether queries that don't use an index will fail (throw an exception). * The default is false. * * @return true if they fail */ @Description("Whether queries that don't use an index will fail (throw an exception). " + "The default is false.") boolean getFailTraversal();
/** * Whether to capture a thread dump in addition to the thread name. * No thread name / thread dump is captures for internal queries. * * @param captureStackTraces the new valu */ @Description("Enable / disable capturing the thread dumps (in addition to the thread name).") void setCaptureStackTraces(boolean captureStackTraces);
/** * Get the slow queries. Those are the ones that scan more than 100'000 * nodes, or the configured maximum number of nodes to scan. (Raw execution * time is not taken into account, as execution can be slow if the code is * not compiled yet.) * * @return the slow queries table */ @Description("Get the slow queries (those that scan/traverse over many nodes).") TabularData getSlowQueries();
@Description("Return the estimated time difference in milliseconds between\n" + "the local instance and the (typically common, shared) document server system.\n" + "The value can be zero if the times are estimated to be equal,\n" + "positive when the local instance is ahead of the remote server\n" + "and negative when the local instance is behind the remote server. An invocation is not cached\n" + "and typically requires a round-trip to the server (but that is not a requirement).") long determineServerTimeDifferenceMillis();
/** * Get the limit on how many nodes a query may read at most (raw read * operations, including skipped nodes). If this limit is exceeded, the * query throws an exception. * * @return the limit */ @Description("Get the limit on how many nodes a query may read at most (raw read " + "operations, including skipped nodes). If this limit is exceeded, the " + "query throws an exception.") long getLimitReads();
/** * Get the limit on how many nodes a query may read at most into memory, for * "order by" and "distinct" queries. If this limit is exceeded, the query * throws an exception. * * @return the limit */ @Description("Get the limit on how many nodes a query may read at most into memory, for " + "\"order by\" and \"distinct\" queries. If this limit is exceeded, the query throws an exception.") long getLimitInMemory();
/** * Whether the query result size should return an estimation for large queries. * * @return true if enabled */ @Description("Whether the query result size should return an estimation for large queries.") boolean isFastQuerySize();
/** * Whether to capture a thread dump in addition to the thread name. * No thread name / thread dump is captures for internal queries. * * @param captureStackTraces the new valu */ @Description("Enable / disable capturing the thread dumps (in addition to the thread name).") void setCaptureStackTraces(boolean captureStackTraces);
/** * Get the limit on how many nodes a query may read at most into memory, for * "order by" and "distinct" queries. If this limit is exceeded, the query * throws an exception. * * @return the limit */ @Description("Get the limit on how many nodes a query may read at most into memory, for " + "\"order by\" and \"distinct\" queries. If this limit is exceeded, the query throws an exception.") long getLimitInMemory();
/** * Whether the query result size should return an estimation for large queries. * * @return true if enabled */ @Description("Whether the query result size should return an estimation for large queries.") boolean isFastQuerySize();
/** * Get the slow queries. Those are the ones that scan more than 100'000 * nodes, or the configured maximum number of nodes to scan. (Raw execution * time is not taken into account, as execution can be slow if the code is * not compiled yet.) * * @return the slow queries table */ @Description("Get the slow queries (those that scan/traverse over many nodes).") TabularData getSlowQueries();
/** * Initiate a backup operation. * * @return the status of the operation right after it was initiated */ @NotNull @Description("Creates a backup of the persistent state of the repository") CompositeData startBackup();
/** * Revision garbage collection status * * @return the status of the ongoing operation or if none the terminal * status of the last operation or <em>Status not available</em> if none. */ @NotNull @Description("Revision garbage collection status") CompositeData getRevisionGCStatus();
/** * Initiate a reindex operation for the property indexes marked for * reindexing * * @return the status of the operation right after it was initiated */ @NotNull @Description("Initiates a reindex operation for the property indexes marked for reindexing") CompositeData startPropertyIndexAsyncReindex();
/** * Refresh all currently open sessions. * <em>Warning</em>: this operation might be disruptive to the owner of the affected sessions */ @NotNull @Description("Refresh all currently open sessions") TabularData refreshAllSessions();
/** * Initiate a restore operation. * * @return the status of the operation right after it was initiated */ @NotNull @Description("Restores the repository from a backup") CompositeData startRestore();
/** * Restore status * * @return the status of the ongoing operation or if none the terminal * status of the last operation or <em>Status not available</em> if none. */ @NotNull @Description("The status of the ongoing operation, or the terminal status of the last completed restore operation") CompositeData getRestoreStatus();
/** * Initiate a revision garbage collection operation * * @return the status of the operation right after it was initiated */ @NotNull @Description("Initiates a revision garbage collection operation") CompositeData startRevisionGC();
/** * Data store garbage collection status * * @return the status of the ongoing operation or if none the terminal * status of the last operation or <em>Status not available</em> if none. */ @NotNull @Description("Data store garbage collection status") CompositeData getDataStoreGCStatus();