Java Doc for WizardStore.java in  » Database-DBMS » Ozone-1.1 » org » ozoneDB » core » wizardStore » 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 » Database DBMS » Ozone 1.1 » org.ozoneDB.core.wizardStore 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ozoneDB.core.ServerComponent
      org.ozoneDB.core.wizardStore.WizardStore

WizardStore
final public class WizardStore extends ServerComponent implements StoreManager(Code)

author:
   SMB
author:
   Medium.net
version:
   $Revision: 1.2 $Date: 2002/06/08 00:49:39 $


Field Summary
final protected static  StringCOMMIT_FLAG_NAME
    
final protected static  StringID_TABLE_NAME
    
final protected static  StringNAME_TABLE_NAME
    
protected  ClusterStoreclusterStore
    
protected  GarbageCollectorgarbageCollector
     The garbage collector.
protected  DxMapidTable
    
protected  DxMapnameTable
    

Constructor Summary
public  WizardStore(Env env)
    

Method Summary
public synchronized  voidabortTransaction(Transaction ta)
    
protected  voidbeginCommit(Transaction ta)
    
public synchronized  DxBagclusterOfID(ObjectID id)
    
protected  voidcommitIDTable()
    
protected  voidcommitNameTable()
    
public synchronized  voidcommitTransaction(Transaction ta)
    
public  ObjectContainercontainerForIDAndPin(Transaction ta, ObjectID id)
     Returns the ObjectContainer for the given ObjectID or null if there is no such container.

If an ObjectContainer is returned, it is pinned once. Thus, the caller has to ensure that the ObjectContainer is unpinned as soon as it is not needed anymore.
Parameters:
  ta - the Transaction for within the container is requested or null.Impl.

public synchronized  ObjectContainercontainerForNameAndPin(Transaction ta, String name)
    
protected  voidendCommit(Transaction ta)
    
protected  TransactionDatagetTransactionData(Transaction ta)
    
public synchronized  voidinit(Env _env)
    
protected  booleanisCleanShutdown()
    
public synchronized  voidnameContainer(Transaction ta, ObjectContainer container, String name)
    
public synchronized  ObjectContainernewContainerAndPinAndLock(Transaction ta, OzoneCompatible target, ObjectID objID, Permissions permissions, int lockLevel)
    
public  ObjectnewTransactionData()
    
public  DxIteratorobjectIDIterator()
    
public synchronized  voidprepareCommitTransaction(Transaction ta)
    
protected synchronized  voidrecover()
     Fill idTable and nameTable from the information that are stored in the clusters directly.
public  voidreportNamedObjectsToGarbageCollector()
     Tells this StoreManager to report every named object to the garbage collector.
public  voidsave()
    
public synchronized  voidshutdown()
    
public synchronized  voidstartup()
    
public  voidupdateLockLevel(Transaction _ta, ObjectContainer _container)
    

Field Detail
COMMIT_FLAG_NAME
final protected static String COMMIT_FLAG_NAME(Code)



ID_TABLE_NAME
final protected static String ID_TABLE_NAME(Code)



NAME_TABLE_NAME
final protected static String NAME_TABLE_NAME(Code)



clusterStore
protected ClusterStore clusterStore(Code)



garbageCollector
protected GarbageCollector garbageCollector(Code)
The garbage collector. It should be notified in the event
  • that a formerly unnamed object receives a name.
  • that an object is freshly created



idTable
protected DxMap idTable(Code)
Maps ObjectIDs to ClusterIDs



nameTable
protected DxMap nameTable(Code)
Maps names to ObjectIDs




Constructor Detail
WizardStore
public WizardStore(Env env)(Code)




Method Detail
abortTransaction
public synchronized void abortTransaction(Transaction ta) throws IOException, ClassNotFoundException(Code)

Parameters:
  ta - ID of the comitting transaction.
Parameters:
  created -
Parameters:
  modified -



beginCommit
protected void beginCommit(Transaction ta) throws IOException(Code)



clusterOfID
public synchronized DxBag clusterOfID(ObjectID id) throws Exception(Code)



commitIDTable
protected void commitIDTable() throws IOException(Code)



commitNameTable
protected void commitNameTable() throws IOException(Code)



commitTransaction
public synchronized void commitTransaction(Transaction ta) throws IOException, ClassNotFoundException(Code)



containerForIDAndPin
public ObjectContainer containerForIDAndPin(Transaction ta, ObjectID id) throws ObjectNotFoundExc, IOException, ClassNotFoundException(Code)
Returns the ObjectContainer for the given ObjectID or null if there is no such container.

If an ObjectContainer is returned, it is pinned once. Thus, the caller has to ensure that the ObjectContainer is unpinned as soon as it is not needed anymore.
Parameters:
  ta - the Transaction for within the container is requested or null.Impl. Note: For performance reasons this is the only method of this Storethat is not synchronized. This will not cause problems because the onlyfield that is updated inside the method (currentContainer) does not needto be stable while this method is running.




containerForNameAndPin
public synchronized ObjectContainer containerForNameAndPin(Transaction ta, String name) throws Exception(Code)



endCommit
protected void endCommit(Transaction ta) throws IOException(Code)



getTransactionData
protected TransactionData getTransactionData(Transaction ta)(Code)



init
public synchronized void init(Env _env)(Code)



isCleanShutdown
protected boolean isCleanShutdown()(Code)



nameContainer
public synchronized void nameContainer(Transaction ta, ObjectContainer container, String name) throws PermissionDeniedExc(Code)



newContainerAndPinAndLock
public synchronized ObjectContainer newContainerAndPinAndLock(Transaction ta, OzoneCompatible target, ObjectID objID, Permissions permissions, int lockLevel) throws Exception(Code)



newTransactionData
public Object newTransactionData()(Code)



objectIDIterator
public DxIterator objectIDIterator()(Code)



prepareCommitTransaction
public synchronized void prepareCommitTransaction(Transaction ta) throws IOException, ClassNotFoundException(Code)



recover
protected synchronized void recover() throws Exception(Code)
Fill idTable and nameTable from the information that are stored in the clusters directly.
throws:
  Exception - If a cluster cannot be read.



reportNamedObjectsToGarbageCollector
public void reportNamedObjectsToGarbageCollector()(Code)
Tells this StoreManager to report every named object to the garbage collector.



save
public void save() throws Exception(Code)



shutdown
public synchronized void shutdown() throws Exception(Code)



startup
public synchronized void startup() throws Exception(Code)



updateLockLevel
public void updateLockLevel(Transaction _ta, ObjectContainer _container) throws IOException(Code)



Fields inherited from org.ozoneDB.core.ServerComponent
protected transient Env env(Code)(Java Doc)

Methods inherited from org.ozoneDB.core.ServerComponent
public synchronized void clearChanged()(Code)(Java Doc)
public boolean hasChanged()(Code)(Java Doc)
abstract public void save() throws Exception(Code)(Java Doc)
public synchronized void setChanged()(Code)(Java Doc)
abstract public void shutdown() throws Exception(Code)(Java Doc)
abstract public void startup() throws Exception(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.