Java Doc for FileSystemPageStore.java in  » GIS » GeoTools-2.4.1 » org » geotools » index » rtree » cachefs » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.index.rtree.cachefs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.index.rtree.PageStore
      org.geotools.index.rtree.cachefs.FileSystemPageStore

FileSystemPageStore
public class FileSystemPageStore extends PageStore (Code)
DOCUMENT ME!
author:
   Tommaso Nolli


Field Summary
final protected static  byteB_DOUBLE
    
final protected static  byteB_FLOAT
    
final protected static  byteB_INTEGER
    
final protected static  byteB_LONG
    
final protected static  byteB_SHORT
    
final protected static  byteB_STRING
    

Constructor Summary
public  FileSystemPageStore(File file)
    
public  FileSystemPageStore(File file, DataDefinition def)
     Create and index with default values, if the file exists then a TreeException will be thrown.
public  FileSystemPageStore(File file, DataDefinition def, int cacheSize)
     Create and index with default values, if the file exists then a TreeException will be thrown.
public  FileSystemPageStore(File file, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg)
     Create and index with the specified values, if the file exists then a TreeException will be thrown.
public  FileSystemPageStore(File file, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg, int cacheSize)
     Create and index with the specified values, if the file exists then a TreeException will be thrown.

Method Summary
public  voidclose()
    
public  EntrycreateEntryPointingNode(Node node)
    
protected  voidfinalize()
    
public  voidfree(Node node)
    
public  DataDefinitiongetDataDefinition()
    
public  NodegetEmptyNode(boolean isLeaf)
    
public  booleangetForceChannel()
    
public  intgetMaxNodeEntries()
    
public  intgetMinNodeEntries()
    
public  NodegetNode(Entry parentEntry, Node parent)
    
public  NodegetRoot()
    
public  shortgetSplitAlgorithm()
    
public  voidsetForceChannel(boolean b)
    
public  voidsetRoot(Node node)
    

Field Detail
B_DOUBLE
final protected static byte B_DOUBLE(Code)



B_FLOAT
final protected static byte B_FLOAT(Code)



B_INTEGER
final protected static byte B_INTEGER(Code)



B_LONG
final protected static byte B_LONG(Code)



B_SHORT
final protected static byte B_SHORT(Code)



B_STRING
final protected static byte B_STRING(Code)




Constructor Detail
FileSystemPageStore
public FileSystemPageStore(File file) throws TreeException(Code)
Loads an index from the specified File
Parameters:
  file - The file that stores the index
throws:
  TreeException -



FileSystemPageStore
public FileSystemPageStore(File file, DataDefinition def) throws TreeException(Code)
Create and index with default values, if the file exists then a TreeException will be thrown.
Parameters:
  file -
Parameters:
  def -
throws:
  TreeException -



FileSystemPageStore
public FileSystemPageStore(File file, DataDefinition def, int cacheSize) throws TreeException(Code)
Create and index with default values, if the file exists then a TreeException will be thrown.
Parameters:
  file -
Parameters:
  def -
Parameters:
  cacheSize - the size of the cache
throws:
  TreeException -



FileSystemPageStore
public FileSystemPageStore(File file, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg) throws TreeException(Code)
Create and index with the specified values, if the file exists then a TreeException will be thrown.
Parameters:
  file - The file to store the index
Parameters:
  def - DOCUMENT ME!
Parameters:
  maxNodeEntries -
Parameters:
  minNodeEntries -
Parameters:
  splitAlg -
throws:
  TreeException -



FileSystemPageStore
public FileSystemPageStore(File file, DataDefinition def, int maxNodeEntries, int minNodeEntries, short splitAlg, int cacheSize) throws TreeException(Code)
Create and index with the specified values, if the file exists then a TreeException will be thrown.
Parameters:
  file - The file to store the index
Parameters:
  def - DOCUMENT ME!
Parameters:
  maxNodeEntries -
Parameters:
  minNodeEntries -
Parameters:
  splitAlg -
Parameters:
  cacheSize - the size of the cache
throws:
  TreeException -




Method Detail
close
public void close() throws TreeException(Code)

See Also:   org.geotools.index.rtree.PageStore.close



createEntryPointingNode
public Entry createEntryPointingNode(Node node)(Code)

See Also:   org.geotools.index.rtree.PageStore.createEntryPointingNode(org.geotools.index.rtree.Node)



finalize
protected void finalize() throws Throwable(Code)

See Also:   java.lang.Object.finalize



free
public void free(Node node)(Code)

See Also:   org.geotools.index.rtree.PageStore.free(org.geotools.index.rtree.Node)



getDataDefinition
public DataDefinition getDataDefinition()(Code)

See Also:   org.geotools.index.rtree.PageStore.getKeyDefinition



getEmptyNode
public Node getEmptyNode(boolean isLeaf)(Code)

See Also:   org.geotools.index.rtree.PageStore.getEmptyNode(boolean)



getForceChannel
public boolean getForceChannel()(Code)
DOCUMENT ME! The state of Force channel parameter



getMaxNodeEntries
public int getMaxNodeEntries()(Code)

See Also:   org.geotools.index.rtree.PageStore.getMaxNodeEntries



getMinNodeEntries
public int getMinNodeEntries()(Code)

See Also:   org.geotools.index.rtree.PageStore.getMinNodeEntries



getNode
public Node getNode(Entry parentEntry, Node parent) throws TreeException(Code)

See Also:   org.geotools.index.rtree.PageStore.getNode(org.geotools.index.rtree.Entryorg.geotools.index.rtree.Node)



getRoot
public Node getRoot()(Code)

See Also:   org.geotools.index.rtree.PageStore.getRoot



getSplitAlgorithm
public short getSplitAlgorithm()(Code)

See Also:   org.geotools.index.rtree.PageStore.getSplitAlgorithm



setForceChannel
public void setForceChannel(boolean b)(Code)
If this is set to true, then every write to the index will call a force() on the associated channel
Parameters:
  b - true or false



setRoot
public void setRoot(Node node) throws TreeException(Code)

See Also:   org.geotools.index.rtree.PageStore.setRoot(org.geotools.index.rtree.Node)



Fields inherited from org.geotools.index.rtree.PageStore
final public static short SPLIT_LINEAR(Code)(Java Doc)
final public static short SPLIT_QUADRATIC(Code)(Java Doc)
protected DataDefinition def(Code)(Java Doc)
protected int maxNodeEntries(Code)(Java Doc)
protected int minNodeEntries(Code)(Java Doc)
protected short splitAlg(Code)(Java Doc)

Methods inherited from org.geotools.index.rtree.PageStore
abstract public void close() throws TreeException(Code)(Java Doc)
abstract public Entry createEntryPointingNode(Node node)(Code)(Java Doc)
abstract public void free(Node node)(Code)(Java Doc)
public DataDefinition getDataDefinition()(Code)(Java Doc)
abstract public Node getEmptyNode(boolean isLeaf)(Code)(Java Doc)
public int getMaxNodeEntries()(Code)(Java Doc)
public int getMinNodeEntries()(Code)(Java Doc)
abstract public Node getNode(Entry parentEntry, Node parent) throws TreeException(Code)(Java Doc)
public Lock getReadLock() throws LockTimeoutException(Code)(Java Doc)
abstract public Node getRoot()(Code)(Java Doc)
public short getSplitAlgorithm()(Code)(Java Doc)
public Lock getWriteLock() throws LockTimeoutException(Code)(Java Doc)
public void releaseLock(Lock lock)(Code)(Java Doc)
abstract public void setRoot(Node node) throws TreeException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.