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;
}
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;
}
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;
}
Aggregations