com.continuent.tungsten.replicator.backup
Class StorageIndex

java.lang.Object
  extended by com.continuent.tungsten.replicator.backup.StorageIndex

public class StorageIndex
extends java.lang.Object

Contains index to storage files. The index is used to generate new file numbers.

Version:
1.0
Author:
Robert Hodges

Constructor Summary
StorageIndex()
          Creates a new specification whose values must be filled in.
StorageIndex(TungstenProperties props)
          Creates an index specification from existing properties.
 
Method Summary
 long getIndex()
           
 java.lang.String getVersion()
           
 void incrementIndex()
           
 void setIndex(long index)
           
 TungstenProperties toProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageIndex

public StorageIndex(TungstenProperties props)
Creates an index specification from existing properties.


StorageIndex

public StorageIndex()
Creates a new specification whose values must be filled in.

Method Detail

incrementIndex

public void incrementIndex()

getIndex

public long getIndex()

setIndex

public void setIndex(long index)

getVersion

public java.lang.String getVersion()

toProperties

public TungstenProperties toProperties()