Search in sources :

Example 1 with PendingBookieOpsStats

use of org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats in project pulsar by apache.

the class ManagedLedgerMBeanImpl method getPendingBookieOpsStats.

@Override
public PendingBookieOpsStats getPendingBookieOpsStats() {
    PendingBookieOpsStats result = new PendingBookieOpsStats();
    result.dataLedgerOpenOp = dataLedgerOpenOp.longValue();
    result.dataLedgerCloseOp = dataLedgerCloseOp.longValue();
    result.dataLedgerCreateOp = dataLedgerCreateOp.longValue();
    result.dataLedgerDeleteOp = dataLedgerDeleteOp.longValue();
    result.cursorLedgerOpenOp = cursorLedgerOpenOp.longValue();
    result.cursorLedgerCloseOp = cursorLedgerCloseOp.longValue();
    result.cursorLedgerCreateOp = cursorLedgerCreateOp.longValue();
    result.cursorLedgerDeleteOp = cursorLedgerDeleteOp.longValue();
    return result;
}
Also used : PendingBookieOpsStats(org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats)

Example 2 with PendingBookieOpsStats

use of org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats in project incubator-pulsar by apache.

the class ManagedLedgerMBeanImpl method getPendingBookieOpsStats.

@Override
public PendingBookieOpsStats getPendingBookieOpsStats() {
    PendingBookieOpsStats result = new PendingBookieOpsStats();
    result.dataLedgerOpenOp = dataLedgerOpenOp.longValue();
    result.dataLedgerCloseOp = dataLedgerCloseOp.longValue();
    result.dataLedgerCreateOp = dataLedgerCreateOp.longValue();
    result.dataLedgerDeleteOp = dataLedgerDeleteOp.longValue();
    result.cursorLedgerOpenOp = cursorLedgerOpenOp.longValue();
    result.cursorLedgerCloseOp = cursorLedgerCloseOp.longValue();
    result.cursorLedgerCreateOp = cursorLedgerCreateOp.longValue();
    result.cursorLedgerDeleteOp = cursorLedgerDeleteOp.longValue();
    return result;
}
Also used : PendingBookieOpsStats(org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats)

Example 3 with PendingBookieOpsStats

use of org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats in project pulsar by yahoo.

the class ManagedLedgerMBeanImpl method getPendingBookieOpsStats.

@Override
public PendingBookieOpsStats getPendingBookieOpsStats() {
    PendingBookieOpsStats result = new PendingBookieOpsStats();
    result.dataLedgerOpenOp = dataLedgerOpenOp.longValue();
    result.dataLedgerCloseOp = dataLedgerCloseOp.longValue();
    result.dataLedgerCreateOp = dataLedgerCreateOp.longValue();
    result.dataLedgerDeleteOp = dataLedgerDeleteOp.longValue();
    result.cursorLedgerOpenOp = cursorLedgerOpenOp.longValue();
    result.cursorLedgerCloseOp = cursorLedgerCloseOp.longValue();
    result.cursorLedgerCreateOp = cursorLedgerCreateOp.longValue();
    result.cursorLedgerDeleteOp = cursorLedgerDeleteOp.longValue();
    return result;
}
Also used : PendingBookieOpsStats(org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats)

Aggregations

PendingBookieOpsStats (org.apache.bookkeeper.mledger.proto.PendingBookieOpsStats)3