| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.index.rtree.cachefs.Parameters
DOCUMENT ME!
| Constructor Summary | |
| Parameters() | |
| Method Summary | |
|  void | flushCache()Flushes all nodes and clears the cache | 
|  java.nio.channels.FileChannel | getChannel()DOCUMENT ME! | 
|  DataDefinition | getDataDef()DOCUMENT ME! | 
|  boolean | getForceChannel()DOCUMENT ME! | 
|  java.util.Stack | getFreePages()DOCUMENT ME! | 
|  FileSystemNode | getFromCache(long offset)Gets a FileSystemNodefrom 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 FileSystemNodein the cache. | 
|  void | removeFromCache(FileSystemNode node)Removes a node from the cache | 
|  void | setChannel(java.nio.channels.FileChannel channel)DOCUMENT ME! | 
|  void | setDataDef(DataDefinition definition)DOCUMENT ME! | 
|  void | setForceChannel(boolean b)DOCUMENT ME! | 
|  void | setFreePages(java.util.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 java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public Parameters()
| Method Detail | 
public java.nio.channels.FileChannel getChannel()
public DataDefinition getDataDef()
public int getMaxNodeEntries()
public int getMinNodeEntries()
public short getSplitAlg()
public void setChannel(java.nio.channels.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 java.util.Stack getFreePages()
public void setFreePages(java.util.Stack stack)
stack - 
public void setNodeCacheSize(int size)
                      throws TreeException
TreeException
public FileSystemNode getFromCache(long offset)
                            throws java.io.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
java.io.IOException
TreeException
public long getNewNodeOffset(int len)
                      throws java.io.IOException
len - 
java.io.IOException - DOCUMENT ME!
public void putToCache(FileSystemNode node)
                throws TreeException
FileSystemNode in the cache.
node - the FileSystemNode to store
TreeExceptionpublic void removeFromCache(FileSystemNode node)
node - the node to remove
public void flushCache()
                throws TreeException
TreeException| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||