Interface DocumentNodeStoreMBean


  • public interface DocumentNodeStoreMBean
    • Method Detail

      • getRevisionComparatorState

        @Deprecated
        java.lang.String getRevisionComparatorState()
        Deprecated.
      • getHead

        java.lang.String getHead()
      • getClusterId

        int getClusterId()
      • getUnmergedBranchCount

        int getUnmergedBranchCount()
      • getInactiveClusterNodes

        java.lang.String[] getInactiveClusterNodes()
      • getActiveClusterNodes

        java.lang.String[] getActiveClusterNodes()
      • getLastKnownRevisions

        java.lang.String[] getLastKnownRevisions()
      • formatRevision

        java.lang.String formatRevision​(@Name("revision")
                                        java.lang.String rev,
                                        @Name("UTC")
                                        boolean utc)
      • determineServerTimeDifferenceMillis

        @Description("Return the estimated time difference in milliseconds between\nthe local instance and the (typically common, shared) document server system.\nThe value can be zero if the times are estimated to be equal,\npositive when the local instance is ahead of the remote server\nand negative when the local instance is behind the remote server. An invocation is not cached\nand typically requires a round-trip to the server (but that is not a requirement).")
        long determineServerTimeDifferenceMillis()
      • getMergeSuccessHistory

        javax.management.openmbean.CompositeData getMergeSuccessHistory()
      • getMergeFailureHistory

        javax.management.openmbean.CompositeData getMergeFailureHistory()
      • getExternalChangeCountHistory

        javax.management.openmbean.CompositeData getExternalChangeCountHistory()
      • getBackgroundUpdateCountHistory

        javax.management.openmbean.CompositeData getBackgroundUpdateCountHistory()
      • getBranchCommitHistory

        javax.management.openmbean.CompositeData getBranchCommitHistory()
      • getMergeBranchCommitHistory

        javax.management.openmbean.CompositeData getMergeBranchCommitHistory()
      • recover

        @Description("Triggers last revision recovery of nodes, below a given path and clusterId.\nReturns number of records updated after performing recovery.\nNote: Recovery can only be performed on inactive clusterIds. If the clusterNode is in ReadOnly mode,\nit will return the no. of documents which needs update and won\'t perform recovery")
        int recover​(@Description("The absolute path of a node.") @Name("path")
                    java.lang.String path,
                    @Description("The id of an inactive cluster node.") @Name("clusterId")
                    int clusterId)
      • cleanAllCaches

        @Description("Invalidates all the caches used by the DocumentNodeStore and DocumentStore: DiffCache, NodeCache, NodeChildrenCache and DocumentCache.")
        java.lang.String cleanAllCaches()
      • cleanIndividualCache

        @Description("Invalidates the specified cache: DiffCache, NodeCache, NodeChildrenCache or DocumentCache.\nNote: The values are case insensitive.")
        java.lang.String cleanIndividualCache​(@Description("Possible values are: DIFF, NODE, NODECHILDREN, DOCUMENT") @Name("name")
                                              java.lang.String name)
      • createCheckpoint

        @Description("Creates a checkpoint with the given revision and lifetime.")
        java.lang.String createCheckpoint​(@Description("The revision of the checkpoint to create.") @Name("revision")
                                          java.lang.String revision,
                                          @Description("The lifetime of the checkpoint in milliseconds.") @Name("lifetime")
                                          long lifetime,
                                          @Description("Force create the checkpoint even when the revision garbage collector may have cleaned up changes already that are more recent than the revision checkpoint.") @Name("force")
                                          boolean force)