Java Doc for RawContainerHandle.java in  » Database-DBMS » db-derby-10.2 » org » apache » derby » iapi » store » raw » data » 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 » db derby 10.2 » org.apache.derby.iapi.store.raw.data 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.derby.iapi.store.raw.data.RawContainerHandle

All known Subclasses:   org.apache.derby.impl.store.raw.data.BaseContainerHandle,
RawContainerHandle
public interface RawContainerHandle extends ContainerHandle(Code)
RawContainerHandle is the form of ContainerHandle that is used within the raw store. This allows the raw store to have a handle on dropped container without exposing this to the external interface, which is not allowed to get back a handle on a dropped container


Field Summary
final public static  intCOMMITTED_DROP
    
final public static  intDROPPED
    
final public static  intNORMAL
     A container can be in 4 states: non_existent - this is represented by a null ContainerHandle NORMAL - this is the normal case, container has been created and is not dropped. DROPPED - container has been dropped, but is not known whether the drop has been committed or not COMMITTED_DROP - container has been dropped and has committed.


Method Summary
public  voiddropContainer(LogInstant instant, boolean drop)
     If drop is true, drop the container.
public  voidencryptContainer(String newFilePath)
     Create encrypted version of the container with the user specified encryption properties.
public  PagegetAnyPage(long pageNumber)
     Return a Page that represents any page - alloc page, valid page, free page, dealloced page etc.
public  intgetContainerStatus()
     Return the status of the container - one of NORMAL, DROPPED, COMMITTED_DROP.
public  longgetContainerVersion()
    
public  ByteArraylogCreateContainerInfo()
     Log all information necessary to recreate the container during a load tran.
public  voidpreDirty(boolean preDirtyOn)
     The container is about to be modified.
public  PagereCreatePageForRedoRecovery(int pageFormat, long pageNumber, long pageOffset)
     ReCreate a page for redo recovery.
public  voidremoveContainer(LogInstant instant)
     Remove the container.

Field Detail
COMMITTED_DROP
final public static int COMMITTED_DROP(Code)



DROPPED
final public static int DROPPED(Code)



NORMAL
final public static int NORMAL(Code)
A container can be in 4 states: non_existent - this is represented by a null ContainerHandle NORMAL - this is the normal case, container has been created and is not dropped. DROPPED - container has been dropped, but is not known whether the drop has been committed or not COMMITTED_DROP - container has been dropped and has committed. To everyone else except recovery, this state is equivalent to NON_EXISTENT





Method Detail
dropContainer
public void dropContainer(LogInstant instant, boolean drop) throws StandardException(Code)
If drop is true, drop the container. if drop is false, un-drop the container
exception:
  StandardException - Standard cloudscape exception policy



encryptContainer
public void encryptContainer(String newFilePath) throws StandardException(Code)
Create encrypted version of the container with the user specified encryption properties.
Parameters:
  newFilePath - file to store the new encrypted version of the container
exception:
  StandardException - Standard Cloudscape error policy



getAnyPage
public Page getAnyPage(long pageNumber) throws StandardException(Code)
Return a Page that represents any page - alloc page, valid page, free page, dealloced page etc.
exception:
  StandardException - Standard Cloudscape error policy



getContainerStatus
public int getContainerStatus() throws StandardException(Code)
Return the status of the container - one of NORMAL, DROPPED, COMMITTED_DROP.
exception:
  StandardException - Standard cloudscape exception policy



getContainerVersion
public long getContainerVersion() throws StandardException(Code)
Get the logged container version
exception:
  StandardException - Standard cloudscape exception policy



logCreateContainerInfo
public ByteArray logCreateContainerInfo() throws StandardException(Code)
Log all information necessary to recreate the container during a load tran.
exception:
  StandardException - Standard Cloudscape error policy



preDirty
public void preDirty(boolean preDirtyOn) throws StandardException(Code)
The container is about to be modified. Loggable actions use this to make sure the container gets cleaned if a checkpoint is taken after any log record is sent to the log stream but before the container is actually dirtied.
exception:
  StandardException - Standard Cloudscape error policy



reCreatePageForRedoRecovery
public Page reCreatePageForRedoRecovery(int pageFormat, long pageNumber, long pageOffset) throws StandardException(Code)
ReCreate a page for redo recovery. Used during redo recovery while trying to apply log records which are creating the page.
exception:
  StandardException - Standard Cloudscape error policy



removeContainer
public void removeContainer(LogInstant instant) throws StandardException(Code)
Remove the container.
exception:
  StandardException - Standard cloudscape exception policy



w_ww__.___j_av__a_2s___.___co__m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.