org.egothor.dir
Class GlobalPositionsArray

java.lang.Object
  extended by org.egothor.util.io.Array
      extended by org.egothor.dir.GlobalPositionsArray
All Implemented Interfaces:
GlobalPositions

public class GlobalPositionsArray
extends Array
implements GlobalPositions

GlobalPositions.java Created on 4. srpen 2006, 0:10

Author:
galambos

Field Summary
 
Fields inherited from class org.egothor.util.io.Array
size
 
Constructor Summary
GlobalPositionsArray(java.lang.String filename)
          Creates a new instance of GlobalPositions
 
Method Summary
 GlobalPositionWithTS find(long gid)
           
 void flush()
           
 void save(int recordsx4, long[] record4)
           
 void save(long gid, int slot, long lid, long localTS)
           
 
Methods inherited from class org.egothor.util.io.Array
close, destroy, finalize, getRf, readSeek, writeSeek
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.egothor.dir.GlobalPositions
close, destroy
 

Constructor Detail

GlobalPositionsArray

public GlobalPositionsArray(java.lang.String filename)
Creates a new instance of GlobalPositions

Method Detail

find

public GlobalPositionWithTS find(long gid)
                          throws java.io.IOException
Specified by:
find in interface GlobalPositions
Throws:
java.io.IOException

save

public void save(int recordsx4,
                 long[] record4)
          throws java.io.IOException
Specified by:
save in interface GlobalPositions
Throws:
java.io.IOException

save

public void save(long gid,
                 int slot,
                 long lid,
                 long localTS)
          throws java.io.IOException
Specified by:
save in interface GlobalPositions
Throws:
java.io.IOException

flush

public void flush()
Specified by:
flush in interface GlobalPositions