org.eclipse.jgit.storage.dht
Class DhtReader.Statistics

java.lang.Object
  extended by org.eclipse.jgit.storage.dht.DhtReader.Statistics
Enclosing class:
DhtReader

public static class DhtReader.Statistics
extends java.lang.Object

How this DhtReader has performed since creation.


Nested Class Summary
static class DhtReader.Statistics.ChunkAccess
          Summary describing how a chunk was accessed.
 
Field Summary
 int cntObjectIndex_Load
          Number of sequential ObjectIndexTable lookups made by the reader.
 int deltaChainCycles
          Cycles detected in delta chains during OBJ_REF_DELTA reads.
 
Constructor Summary
DhtReader.Statistics()
           
 
Method Summary
 java.util.Collection<DhtReader.Statistics.ChunkAccess> getChunkAccess()
           
 double getDeltaBaseCacheHitRatio()
           
 double getRecentChunksHitRatio()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cntObjectIndex_Load

public int cntObjectIndex_Load
Number of sequential ObjectIndexTable lookups made by the reader. These were made without the support of batch lookups.


deltaChainCycles

public int deltaChainCycles
Cycles detected in delta chains during OBJ_REF_DELTA reads.

Constructor Detail

DhtReader.Statistics

public DhtReader.Statistics()
Method Detail

getRecentChunksHitRatio

public double getRecentChunksHitRatio()
Returns:
ratio of recent chunk hits, [0.00,1.00].

getDeltaBaseCacheHitRatio

public double getDeltaBaseCacheHitRatio()
Returns:
ratio of delta base cache hits, [0.00,1.00].

getChunkAccess

public java.util.Collection<DhtReader.Statistics.ChunkAccess> getChunkAccess()
Returns:
collection of chunk accesses made by the application code against this reader. The collection's iterator has no relevant order.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.