Package com.intellij.util.io
Class ResizeableMappedFile
- java.lang.Object
-
- com.intellij.util.io.ResizeableMappedFile
-
-
Constructor Summary
Constructors Constructor Description ResizeableMappedFile(File file, int initialSize, PagedFileStorage.StorageLock lock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
force()
byte
get(int index)
void
get(int index, byte[] dst, int offset, int length)
int
getInt(int index)
long
getLong(int index)
boolean
isDirty()
long
length()
void
put(int index, byte value)
void
put(int index, byte[] src, int offset, int length)
void
putInt(int index, int value)
void
putLong(int index, long value)
-
-
-
Constructor Detail
-
ResizeableMappedFile
public ResizeableMappedFile(File file, int initialSize, PagedFileStorage.StorageLock lock) throws IOException
- Throws:
IOException
-
-
Method Detail
-
length
public long length()
-
getInt
public int getInt(int index)
-
putInt
public void putInt(int index, int value)
-
getLong
public long getLong(int index)
-
putLong
public void putLong(int index, long value)
-
get
public byte get(int index)
-
put
public void put(int index, byte value)
-
get
public void get(int index, byte[] dst, int offset, int length)
-
put
public void put(int index, byte[] src, int offset, int length)
-
close
public void close()
-
-