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


org.apache.derby.impl.store.raw.xact.Xact
   org.apache.derby.impl.store.raw.xact.InternalXact

InternalXact
public class InternalXact extends Xact (Code)

See Also:   Xact



Constructor Summary
protected  InternalXact(XactFactory xactFactory, LogFactory logFactory, DataFactory dataFactory)
    

Method Summary
public  voidcheckLogicalOperationOK()
     Internal transactions don't allow logical operations.
protected  voiddoComplete(Integer commitOrAbort)
    
public  booleanrecoveryRollbackFirst()
     Yes, we do want to be rolled back first in recovery.
protected  voidsetIdleState()
    
public  intsetSavePoint(String name, Object kindOfSavepoint)
     Savepoints are not supported in internal transactions.


Constructor Detail
InternalXact
protected InternalXact(XactFactory xactFactory, LogFactory logFactory, DataFactory dataFactory)(Code)




Method Detail
checkLogicalOperationOK
public void checkLogicalOperationOK() throws StandardException(Code)
Internal transactions don't allow logical operations.
exception:
  StandardException - A transaction exception is thrown to disallow logical operations.
See Also:   org.apache.derby.iapi.store.raw.xact.RawTransaction.recoveryRollbackFirst



doComplete
protected void doComplete(Integer commitOrAbort) throws StandardException(Code)

Parameters:
  commitOrAbort - to commit or abort
exception:
  StandardException - on error



recoveryRollbackFirst
public boolean recoveryRollbackFirst()(Code)
Yes, we do want to be rolled back first in recovery.
See Also:   org.apache.derby.iapi.store.raw.xact.RawTransaction.recoveryRollbackFirst



setIdleState
protected void setIdleState()(Code)



setSavePoint
public int setSavePoint(String name, Object kindOfSavepoint) throws StandardException(Code)
Savepoints are not supported in internal transactions.
exception:
  StandardException - A transaction exception is thrown to disallow savepoints.
See Also:   Transaction.setSavePoint



Fields inherited from org.apache.derby.impl.store.raw.xact.Xact
final protected static int ACTIVE(Code)(Java Doc)
final protected static int CLOSED(Code)(Java Doc)
final public static int END_ABORTED(Code)(Java Doc)
final public static int END_COMMITTED(Code)(Java Doc)
final public static int END_PREPARED(Code)(Java Doc)
final protected static int IDLE(Code)(Java Doc)
final public static int INTERNAL_TRANSACTION(Code)(Java Doc)
final public static int NESTED_TOP_TRANSACTION(Code)(Java Doc)
final protected static int PREPARED(Code)(Java Doc)
final public static int RECOVERY_ROLLBACK_FIRST(Code)(Java Doc)
final protected static int UPDATE(Code)(Java Doc)
final protected Object compatibilitySpace(Code)(Java Doc)
final protected DataFactory dataFactory(Code)(Java Doc)
DynamicByteArrayOutputStream logBuffer(Code)(Java Doc)
final protected LogFactory logFactory(Code)(Java Doc)
protected Logger logger(Code)(Java Doc)
protected List postCommitWorks(Code)(Java Doc)
protected List postTerminationWorks(Code)(Java Doc)
protected volatile int state(Code)(Java Doc)
final protected XactFactory xactFactory(Code)(Java Doc)
protected XactContext xc(Code)(Java Doc)

Methods inherited from org.apache.derby.impl.store.raw.xact.Xact
public void abort() throws StandardException(Code)(Java Doc)
public long addAndLoadStreamContainer(long segmentId, Properties tableProperties, RowSource rowSource) throws StandardException(Code)(Java Doc)
public long addContainer(long segmentId, long containerid, int mode, Properties tableProperties, int temporaryFlag) throws StandardException(Code)(Java Doc)
public void addPostCommitWork(Serviceable work)(Code)(Java Doc)
public void addPostTerminationWork(Serviceable work)(Code)(Java Doc)
public void addUpdateTransaction(int transactionStatus)(Code)(Java Doc)
public boolean anyoneBlocked()(Code)(Java Doc)
protected void assumeGlobalXactIdentity(TransactionTableEntry ent)(Code)(Java Doc)
protected void assumeIdentity(TransactionTableEntry ent)(Code)(Java Doc)
public boolean blockBackup(boolean wait) throws StandardException(Code)(Java Doc)
public void checkpointInRollForwardRecovery(LogInstant cinstant, long redoLWM) throws StandardException(Code)(Java Doc)
public void close() throws StandardException(Code)(Java Doc)
public LogInstant commit() throws StandardException(Code)(Java Doc)
public LogInstant commitNoSync(int commitflag) throws StandardException(Code)(Java Doc)
public void createXATransactionFromLocalTransaction(int format_id, byte[] global_id, byte[] branch_id) throws StandardException(Code)(Java Doc)
final public LockingPolicy defaultLockingPolicy()(Code)(Java Doc)
public void destroy() throws StandardException(Code)(Java Doc)
protected void doComplete(Integer commitOrAbort) throws StandardException(Code)(Java Doc)
protected boolean doPostCommitWorkInTran()(Code)(Java Doc)
public void dropContainer(ContainerKey containerId) throws StandardException(Code)(Java Doc)
public void dropStreamContainer(long segmentId, long containerId) throws StandardException(Code)(Java Doc)
public String getActiveStateTxIdString()(Code)(Java Doc)
public long[] getCacheStats(String cacheName)(Code)(Java Doc)
public Object getCompatibilitySpace()(Code)(Java Doc)
final public String getContextId()(Code)(Java Doc)
final public ContextManager getContextManager()(Code)(Java Doc)
final public DataFactory getDataFactory()(Code)(Java Doc)
public LockingPolicy getDefaultLockingPolicy()(Code)(Java Doc)
public FileResource getFileHandler()(Code)(Java Doc)
public LogInstant getFirstLogInstant()(Code)(Java Doc)
final public GlobalTransactionId getGlobalId()(Code)(Java Doc)
final public TransactionId getId()(Code)(Java Doc)
final protected TransactionId getIdNoCheck()(Code)(Java Doc)
public LogInstant getLastLogInstant()(Code)(Java Doc)
final public LockFactory getLockFactory()(Code)(Java Doc)
public DynamicByteArrayOutputStream getLogBuffer()(Code)(Java Doc)
String getState()(Code)(Java Doc)
public String getTransName()(Code)(Java Doc)
public boolean handlesPostTerminationWork()(Code)(Java Doc)
public boolean inAbort()(Code)(Java Doc)
public boolean inRollForwardRecovery()(Code)(Java Doc)
final public boolean isActive()(Code)(Java Doc)
public boolean isBlockingBackup()(Code)(Java Doc)
public boolean isIdle()(Code)(Java Doc)
final public boolean isPrepared()(Code)(Java Doc)
public boolean isPristine()(Code)(Java Doc)
public void logAndDo(Loggable operation) throws StandardException(Code)(Java Doc)
public void logAndUndo(Compensation compensation, LogInstant undoInstant, LimitObjectInput in) throws StandardException(Code)(Java Doc)
final public LockingPolicy newLockingPolicy(int mode, int isolation, boolean stricterOk)(Code)(Java Doc)
public ContainerHandle openContainer(ContainerKey containerId, int mode) throws StandardException(Code)(Java Doc)
public ContainerHandle openContainer(ContainerKey containerId, LockingPolicy locking, int mode) throws StandardException(Code)(Java Doc)
public RawContainerHandle openDroppedContainer(ContainerKey containerId, LockingPolicy locking) throws StandardException(Code)(Java Doc)
public StreamContainerHandle openStreamContainer(long segmentId, long containerId, boolean hold) throws StandardException(Code)(Java Doc)
protected boolean popSavePoints(int position, boolean release) throws StandardException(Code)(Java Doc)
protected void postComplete(int commitflag, Integer commitOrAbort) throws StandardException(Code)(Java Doc)
protected void preComplete(Integer commitOrAbort) throws StandardException(Code)(Java Doc)
public void prepareTransaction()(Code)(Java Doc)
public void reCreateContainerForRedoRecovery(long segmentId, long containerId, ByteArray containerInfo) throws StandardException(Code)(Java Doc)
public void reached(Object compatabilitySpace, Object group, int limit, Enumeration lockList, int lockCount) throws StandardException(Code)(Java Doc)
public void recoveryTransaction()(Code)(Java Doc)
public int releaseSavePoint(String name, Object kindOfSavepoint) throws StandardException(Code)(Java Doc)
public void removeUpdateTransaction()(Code)(Java Doc)
public void reprepare() throws StandardException(Code)(Java Doc)
public void resetCacheStats(String cacheName)(Code)(Java Doc)
void resetDefaultLocking()(Code)(Java Doc)
public int rollbackToSavePoint(String name, Object kindOfSavepoint) throws StandardException(Code)(Java Doc)
final protected void setActiveState() throws StandardException(Code)(Java Doc)
final public void setDefaultLockingPolicy(LockingPolicy policy)(Code)(Java Doc)
public void setFirstLogInstant(LogInstant instant)(Code)(Java Doc)
protected void setIdleState()(Code)(Java Doc)
public void setLastLogInstant(LogInstant instant)(Code)(Java Doc)
void setPostComplete()(Code)(Java Doc)
final protected void setPrepareState() throws StandardException(Code)(Java Doc)
public int setSavePoint(String name, Object kindOfSavepoint) throws StandardException(Code)(Java Doc)
public void setTransName(String name)(Code)(Java Doc)
public void setTransactionId(GlobalTransactionId extid, TransactionId localid)(Code)(Java Doc)
public void setTransactionId(Loggable beginXact, TransactionId localId)(Code)(Java Doc)
public void setup(PersistentSet set) throws StandardException(Code)(Java Doc)
public RawTransaction startNestedTopTransaction() throws StandardException(Code)(Java Doc)
protected int statusForBeginXactLog()(Code)(Java Doc)
protected int statusForEndXactLog()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void xa_commit(boolean onePhase) throws StandardException(Code)(Java Doc)
public int xa_prepare() throws StandardException(Code)(Java Doc)
public void xa_rollback() throws StandardException(Code)(Java Doc)

w___w___w_.j___a__v_a2_s___.___co_m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.