Class LedgerOpenOp


  • class LedgerOpenOp
    extends java.lang.Object
    Encapsulates the ledger open operation.
    • Field Detail

      • LOG

        static final org.slf4j.Logger LOG
      • ledgerId

        final long ledgerId
      • ctx

        final java.lang.Object ctx
      • passwd

        final byte[] passwd
      • doRecovery

        boolean doRecovery
      • keepUpdateMetadata

        boolean keepUpdateMetadata
      • administrativeOpen

        boolean administrativeOpen
      • startTime

        long startTime
      • enableDigestAutodetection

        final boolean enableDigestAutodetection
    • Method Detail

      • initiate

        public void initiate()
        Inititates the ledger open operation.
      • initiateWithoutRecovery

        public void initiateWithoutRecovery()
        Inititates the ledger open operation without recovery.
      • initiateWithKeepUpdateMetadata

        public void initiateWithKeepUpdateMetadata()
        Different with initiate(), the method keep update metadata once the auto-recover component modified the ensemble.
      • openComplete

        void openComplete​(int rc,
                          LedgerHandle lh)