|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectParameters
public class Parameters
DOCUMENT ME!
trunk/gt/modules
(gt-modules.jar
) (Maven report) (SVN head)Constructor Summary | |
---|---|
Parameters()
|
Method Summary | |
---|---|
void |
flushCache()
Flushes all nodes and clears the cache |
FileChannel |
getChannel()
DOCUMENT ME! |
DataDefinition |
getDataDef()
DOCUMENT ME! |
boolean |
getForceChannel()
DOCUMENT ME! |
Stack |
getFreePages()
DOCUMENT ME! |
FileSystemNode |
getFromCache(long offset)
Gets a FileSystemNode from the cache, if the node is non
there, a new node will be created and added to the cache. |
int |
getMaxNodeEntries()
DOCUMENT ME! |
int |
getMinNodeEntries()
DOCUMENT ME! |
long |
getNewNodeOffset(int len)
DOCUMENT ME! |
short |
getSplitAlg()
DOCUMENT ME! |
void |
putToCache(FileSystemNode node)
Soters a FileSystemNode in the cache. |
void |
removeFromCache(FileSystemNode node)
Removes a node from the cache |
void |
setChannel(FileChannel channel)
DOCUMENT ME! |
void |
setDataDef(DataDefinition definition)
DOCUMENT ME! |
void |
setForceChannel(boolean b)
DOCUMENT ME! |
void |
setFreePages(Stack stack)
DOCUMENT ME! |
void |
setMaxNodeEntries(int i)
DOCUMENT ME! |
void |
setMinNodeEntries(int i)
DOCUMENT ME! |
void |
setNodeCacheSize(int size)
|
void |
setSplitAlg(short s)
DOCUMENT ME! |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parameters()
Method Detail |
---|
public FileChannel getChannel()
public DataDefinition getDataDef()
public int getMaxNodeEntries()
public int getMinNodeEntries()
public short getSplitAlg()
public void setChannel(FileChannel channel)
channel
- public void setDataDef(DataDefinition definition)
definition
- public void setMaxNodeEntries(int i)
i
- public void setMinNodeEntries(int i)
i
- public void setSplitAlg(short s)
s
- public boolean getForceChannel()
public void setForceChannel(boolean b)
b
- public Stack getFreePages()
public void setFreePages(Stack stack)
stack
- public void setNodeCacheSize(int size) throws TreeException
TreeException
public FileSystemNode getFromCache(long offset) throws IOException, TreeException
FileSystemNode
from the cache, if the node is non
there, a new node will be created and added to the cache.
offset
- The node offset
FileSystemNode
IOException
TreeException
public long getNewNodeOffset(int len) throws IOException
len
-
IOException
- DOCUMENT ME!public void putToCache(FileSystemNode node) throws TreeException
FileSystemNode
in the cache.
node
- the FileSystemNode
to store
TreeException
public void removeFromCache(FileSystemNode node)
node
- the node to removepublic void flushCache() throws TreeException
TreeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |