|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjava.io.RandomAccessFile
okuyama.imdst.util.io.AbstractDataRandomAccess
okuyama.imdst.util.io.SortedSchedulingRandomAccess
public class SortedSchedulingRandomAccess
IOのRandomAccessFileのラッパー.
RandomAccessにおいてシーク処理を行う前に、リクエストを一定以上蓄積し、シーク位置を昇順でソートし
シーケンシャルアクセスになるようにスケジューリングを行う。
フィールドの概要 | |
---|---|
protected java.util.Map |
dataPointMap
|
java.util.concurrent.ArrayBlockingQueue |
readRequestSeekPointQueue
|
クラス okuyama.imdst.util.io.AbstractDataRandomAccess から継承されたフィールド |
---|
dataCacheMapper, dataFile, execMappingFlg, highReferencedMapCopy, highReferenceFrequencyMap, pageCacheMappendSize |
コンストラクタの概要 | |
---|---|
SortedSchedulingRandomAccess(java.io.File target,
java.lang.String type)
|
メソッドの概要 | |
---|---|
void |
requestSeekPoint(long seekPoint,
int start,
int size)
|
void |
seek(long seekPoint)
|
int |
seekAndRead(long seekPoint,
byte[] data,
int start,
int size,
java.lang.Object key)
|
void |
setDataPointMap(java.util.Map dataPointMap)
|
void |
write(byte[] data,
int start,
int size)
|
クラス okuyama.imdst.util.io.AbstractDataRandomAccess から継承されたメソッド |
---|
close, putHighReferenceData |
クラス java.io.RandomAccessFile から継承されたメソッド |
---|
getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setLength, skipBytes, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected java.util.Map dataPointMap
public java.util.concurrent.ArrayBlockingQueue readRequestSeekPointQueue
コンストラクタの詳細 |
---|
public SortedSchedulingRandomAccess(java.io.File target, java.lang.String type) throws java.io.FileNotFoundException
java.io.FileNotFoundException
メソッドの詳細 |
---|
public void setDataPointMap(java.util.Map dataPointMap)
AbstractDataRandomAccess
内の setDataPointMap
public void requestSeekPoint(long seekPoint, int start, int size)
AbstractDataRandomAccess
内の requestSeekPoint
public void seek(long seekPoint) throws java.io.IOException
java.io.RandomAccessFile
内の seek
java.io.IOException
public void write(byte[] data, int start, int size) throws java.io.IOException
java.io.DataOutput
内の write
java.io.RandomAccessFile
内の write
java.io.IOException
public int seekAndRead(long seekPoint, byte[] data, int start, int size, java.lang.Object key) throws java.io.IOException
AbstractDataRandomAccess
内の seekAndRead
java.io.IOException
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |