com.sun.jini.outrigger.snaplogstore
Class BackEnd.LastLog

java.lang.Object
  extended by com.sun.jini.outrigger.snaplogstore.BackEnd.LastLog
All Implemented Interfaces:
Serializable
Enclosing class:
BackEnd

private static class BackEnd.LastLog
extends Object
implements Serializable

This class remembers which log file was the last to be successfully consumed. If the recovery mechanism reopens this file, then it will skip its contents -- this indicates a crash happened after the contents were committed to the snapshot but before the file was unlinked.


Field Summary
private  String logFile
           
private  long timeStamp
           
 
Constructor Summary
BackEnd.LastLog(String path)
           
 
Method Summary
(package private)  boolean sameAs(String otherPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logFile

private String logFile

timeStamp

private long timeStamp
Constructor Detail

BackEnd.LastLog

BackEnd.LastLog(String path)
Method Detail

sameAs

boolean sameAs(String otherPath)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.