org.apache.lucene.store.wrapper
Class SyncMemoryMirrorDirectoryWrapper.SyncMemoryMirrorIndexOutput

java.lang.Object
  extended by org.apache.lucene.store.IndexOutput
      extended by org.apache.lucene.store.wrapper.SyncMemoryMirrorDirectoryWrapper.SyncMemoryMirrorIndexOutput
Enclosing class:
SyncMemoryMirrorDirectoryWrapper

public static class SyncMemoryMirrorDirectoryWrapper.SyncMemoryMirrorIndexOutput
extends IndexOutput


Constructor Summary
SyncMemoryMirrorDirectoryWrapper.SyncMemoryMirrorIndexOutput(IndexOutput origIndexOutput, RAMOutputStream ramIndexOutput)
           
 
Method Summary
 void close()
           
 void flush()
           
 long getFilePointer()
           
 long length()
           
 void seek(long size)
           
 void writeByte(byte b)
           
 void writeBytes(byte[] b, int offset, int length)
           
 
Methods inherited from class org.apache.lucene.store.IndexOutput
copyBytes, writeBytes, writeChars, writeChars, writeInt, writeLong, writeString, writeVInt, writeVLong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncMemoryMirrorDirectoryWrapper.SyncMemoryMirrorIndexOutput

public SyncMemoryMirrorDirectoryWrapper.SyncMemoryMirrorIndexOutput(IndexOutput origIndexOutput,
                                                                    RAMOutputStream ramIndexOutput)
Method Detail

writeByte

public void writeByte(byte b)
               throws IOException
Specified by:
writeByte in class IndexOutput
Throws:
IOException

writeBytes

public void writeBytes(byte[] b,
                       int offset,
                       int length)
                throws IOException
Specified by:
writeBytes in class IndexOutput
Throws:
IOException

seek

public void seek(long size)
          throws IOException
Specified by:
seek in class IndexOutput
Throws:
IOException

length

public long length()
            throws IOException
Specified by:
length in class IndexOutput
Throws:
IOException

getFilePointer

public long getFilePointer()
Specified by:
getFilePointer in class IndexOutput

flush

public void flush()
           throws IOException
Specified by:
flush in class IndexOutput
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in class IndexOutput
Throws:
IOException


Copyright (c) 2004-2008 The Compass Project.