public class GridLuceneFile extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static AtomicInteger |
filesCnt |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes file and deallocates memory..
|
protected long |
getBuffer(int idx)
Gets address of buffer.
|
GridLuceneDirectory |
getDirectory() |
long |
getLength()
For non-stream access from thread that might be concurrent with writing
|
long |
getSizeInBytes() |
protected long |
newBuffer()
Expert: allocate a new buffer.
|
protected int |
numBuffers() |
protected void |
setLength(long length)
Sets length.
|
public static final AtomicInteger filesCnt
public long getLength()
protected void setLength(long length)
length - Length.protected final long getBuffer(int idx)
idx - Index.protected final int numBuffers()
protected long newBuffer()
public void delete()
public long getSizeInBytes()
public GridLuceneDirectory getDirectory()
Copyright © 2014. All rights reserved.