com.bigdata.resources
Class PurgeResult

java.lang.Object
  extended by com.bigdata.resources.PurgeResult
All Implemented Interfaces:
Params, Serializable

public class PurgeResult
extends Object
implements Serializable, Params

A class that captures the results of StoreManager.purgeOldResources().

Version:
$Id: PurgeResult.java 4523 2011-05-18 18:14:45Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Field Summary
 long bytesAfterCount
          The #of bytes under management after the purge.
 long bytesBeforeCount
          The #of bytes under management before the purge.
 long choosenReleaseTime
          The chosen release time.
 long commitTimeToPreserve
          The earliest commit time that was preserved by the purge operation (you can still read on this commit point after the purge).
 long firstCommitTime
          The earliest commit time on any of the managed journals.
 long givenReleaseTime
          The release time as reported by the ITransactionService.
 long indexRetentionTime
          The earliest timestamp that MUST be retained for the read-historical indices in the cache and Long.MAX_VALUE if there are NO read-historical indices in the cache.
 long journalAfterCount
          The #of journals after the purge.
 long journalBeforeCount
          The #of journals before the purge.
 long lastCommitTime
          Last commit time on the live journal at the start of the operation.
 long resourcesInUseCount
          The #of resources (journals and index segments) that are dependencies for index views from the commitTimeToPreserve until the lastCommitTime.
 long segmentAfterCount
          The #of index segments after the purge.
 long segmentBeforeCount
          The #of index segments before the purge.
 
Constructor Summary
PurgeResult(long firstCommitTime, long lastCommitTime, long givenReleaseTime, long indexRetentionTime, long choosenReleaseTime, long commitTimeToPreserve, long resourcesInUseCount, long journalBeforeCount, long journalAfterCount, long segmentBeforeCount, long segmentAfterCount, long bytesBeforeCount, long bytesAfterCount, long elapsedScanCommitIndicesTime, long elapsedDeleteResourcesTime, long elapsedPurgeResourcesTime)
           
 
Method Summary
 Map<String,Object> getParams()
          Return the fields of interest as an set of (name,value) pairs.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

firstCommitTime

public final long firstCommitTime
The earliest commit time on any of the managed journals.


lastCommitTime

public final long lastCommitTime
Last commit time on the live journal at the start of the operation.


givenReleaseTime

public final long givenReleaseTime
The release time as reported by the ITransactionService.


indexRetentionTime

public final long indexRetentionTime
The earliest timestamp that MUST be retained for the read-historical indices in the cache and Long.MAX_VALUE if there are NO read-historical indices in the cache.


choosenReleaseTime

public final long choosenReleaseTime
The chosen release time.


commitTimeToPreserve

public final long commitTimeToPreserve
The earliest commit time that was preserved by the purge operation (you can still read on this commit point after the purge).


resourcesInUseCount

public final long resourcesInUseCount
The #of resources (journals and index segments) that are dependencies for index views from the commitTimeToPreserve until the lastCommitTime.


journalBeforeCount

public final long journalBeforeCount
The #of journals before the purge.


journalAfterCount

public final long journalAfterCount
The #of journals after the purge.


segmentBeforeCount

public final long segmentBeforeCount
The #of index segments before the purge.


segmentAfterCount

public final long segmentAfterCount
The #of index segments after the purge.


bytesBeforeCount

public final long bytesBeforeCount
The #of bytes under management before the purge.


bytesAfterCount

public final long bytesAfterCount
The #of bytes under management after the purge.

Constructor Detail

PurgeResult

public PurgeResult(long firstCommitTime,
                   long lastCommitTime,
                   long givenReleaseTime,
                   long indexRetentionTime,
                   long choosenReleaseTime,
                   long commitTimeToPreserve,
                   long resourcesInUseCount,
                   long journalBeforeCount,
                   long journalAfterCount,
                   long segmentBeforeCount,
                   long segmentAfterCount,
                   long bytesBeforeCount,
                   long bytesAfterCount,
                   long elapsedScanCommitIndicesTime,
                   long elapsedDeleteResourcesTime,
                   long elapsedPurgeResourcesTime)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getParams

public Map<String,Object> getParams()
Description copied from interface: Params
Return the fields of interest as an set of (name,value) pairs.

Specified by:
getParams in interface Params


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.