com.neeve.ods
Interface IStoreWriter.LogCounters

All Known Implementing Classes:
RogLog.Stats
Enclosing interface:
IStoreWriter

public static interface IStoreWriter.LogCounters

Holds transaction log related counters.

This interface is used to return various counters associated with a log. It is designed for use in different places for example to return counters in an existing log, deltas for counters after performing a checkpoint operation etc.


Method Summary
 int getNumDupTransactions()
           
 int getNumGapTransactions()
           
 int getNumMessages()
           
 int getNumOrphans()
           
 int getNumPartialTransactions()
           
 int getNumPuts()
           
 int getNumRemoves()
           
 int getNumSends()
           
 int getNumTransactions()
           
 int getNumUpdates()
           
 

Method Detail

getNumPuts

int getNumPuts()
Returns:
Number of 'put' entries

getNumUpdates

int getNumUpdates()
Returns:
Number of 'update' entries

getNumRemoves

int getNumRemoves()
Returns:
Number of 'remove' entries

getNumSends

int getNumSends()
Returns:
Number of 'send' entries

getNumMessages

int getNumMessages()
Returns:
Number of 'message' entries

getNumOrphans

int getNumOrphans()
Returns:
Number of entries outside of transactions

getNumTransactions

int getNumTransactions()
Returns:
Number of transactions

getNumDupTransactions

int getNumDupTransactions()
Returns:
Number of transactions with an id less or equal to its predecessor

getNumGapTransactions

int getNumGapTransactions()
Returns:
Number of transactions with an id more than one greater than its predecessor

getNumPartialTransactions

int getNumPartialTransactions()
Returns:
Number of transactions that have no 'end of commit' marker


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.