Skip to content

Commit

Permalink
update doc for addWriteCursorLedgerSize
Browse files Browse the repository at this point in the history
  • Loading branch information
Technoboy- committed Aug 10, 2021
1 parent 105ae9c commit 664539d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ public interface ManagedCursorMXBean {
String getLedgerName();

/**
* persist cursor by ledger
* persist cursor by ledger.
*
* @param success
*/
void persistToLedger(boolean success);

/**
* persist cursor by zookeeper
* persist cursor by zookeeper.
* @param success
*/
void persistToZookeeper(boolean success);
Expand All @@ -72,7 +73,7 @@ public interface ManagedCursorMXBean {

/**
* Add write data to a ledger of a cursor (in bytes).
*
* This will update writeCursorLedgerLogicalSize and writeCursorLedgerSize.
* @param size Size of data written to cursor (in bytes)
*/
void addWriteCursorLedgerSize(long size);
Expand Down

0 comments on commit 664539d

Please sign in to comment.