Java Doc for LogEntryType.java in  » JMX » je » com » sleepycat » je » log » 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 » JMX » je » com.sleepycat.je.log 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sleepycat.je.log.LogEntryType

LogEntryType
public class LogEntryType (Code)
LogEntryType is an enumeration of all log entry types.

When adding a new version of a log entry type, make sure the corresponding LogEntry instance is capable of reading in older versions from the log. The LogEntry instance must be sure that older versions are converted in memory into a correct instance of the newest version, so when that LogEntry object is written again as the result of migration, eviction, the resulting new log entry conforms to the requirements of the new version. If context objects are required for data conversion, the conversion can be done in the Node.postFetchInit method.



Field Summary
final public static  LogEntryType[]IN_TYPES
    
final public static  LogEntryTypeLOG_BIN
    
final public static  LogEntryTypeLOG_BIN_DELTA
    
final public static  LogEntryTypeLOG_CKPT_END
    
final public static  LogEntryTypeLOG_CKPT_START
    
final public static  LogEntryTypeLOG_DBIN
    
final public static  LogEntryTypeLOG_DEL_DUPLN
    
final public static  LogEntryTypeLOG_DEL_DUPLN_TRANSACTIONAL
    
final public static  LogEntryTypeLOG_DIN
    
final public static  LogEntryTypeLOG_DUPCOUNTLN
    
final public static  LogEntryTypeLOG_DUPCOUNTLN_TRANSACTIONAL
    
final public static  LogEntryTypeLOG_DUP_BIN_DELTA
    
final public static  LogEntryTypeLOG_FILESUMMARYLN
    
final public static  LogEntryTypeLOG_FILE_HEADER
    
final public static  LogEntryTypeLOG_IN
    
final public static  LogEntryTypeLOG_IN_DELETE_INFO
    
final public static  LogEntryTypeLOG_IN_DUPDELETE_INFO
    
final public static  LogEntryTypeLOG_LN
    
final public static  LogEntryTypeLOG_LN_TRANSACTIONAL
    
final public static  LogEntryTypeLOG_MAPLN
    
final public static  LogEntryTypeLOG_MAPLN_TRANSACTIONAL
    
final public static  LogEntryTypeLOG_NAMELN
    
final public static  LogEntryTypeLOG_NAMELN_TRANSACTIONAL
    
final public static  LogEntryTypeLOG_ROOT
    
final public static  LogEntryTypeLOG_TRACE
    
final public static  LogEntryTypeLOG_TXN_ABORT
    
final public static  LogEntryTypeLOG_TXN_COMMIT
    
final public static  LogEntryTypeLOG_TXN_PREPARE
    

Constructor Summary
 LogEntryType(byte typeNum, byte version)
     For base class support.

Method Summary
public  booleanequals(Object obj)
    
 booleanequalsType(byte typeNum, byte version)
     Check for equality without making a new object.
public  booleanequalsType(byte typeNum)
    
public static  LogEntryTypefindType(byte typeNum, byte version)
    
public static  SetgetAllTypes()
     Get a copy of all types for unit testing.
 LogEntrygetNewLogEntry()
    
public  LogEntrygetSharedLogEntry()
    
 bytegetTypeNum()
    
 bytegetVersion()
    
public static  bytegetVersionValue(byte version)
     Return the version value, clearing away provisional and replicated bits.
public  inthashCode()
     This is used as a hash key.
static  booleanisEntryProvisional(byte version)
    
public static  booleanisEntryReplicated(byte version)
    
public static  booleanisNodeType(byte typeNum, byte version)
    
public  booleanisNodeType()
    
public  booleanisTransactional()
     Return true if this log entry has transactional information in it, like a commit or abort record, or a transactional LN.
public  booleanisTypeReplicated()
     Return true if this log entry should be transmitted to other sites if the environment is part of a replication group.
static  booleanisValidType(byte typeNum)
    
public  booleanmarshallOutsideLatch()
     Return true if this log entry should be marshalled into a buffer outside the log write latch.
static  bytesetEntryProvisional(byte version)
     Set the provisional bit.
static  bytesetEntryReplicated(byte version)
    
public  StringtoString()
    
public  StringtoStringNoVersion()
    

Field Detail
IN_TYPES
final public static LogEntryType[] IN_TYPES(Code)



LOG_BIN
final public static LogEntryType LOG_BIN(Code)



LOG_BIN_DELTA
final public static LogEntryType LOG_BIN_DELTA(Code)



LOG_CKPT_END
final public static LogEntryType LOG_CKPT_END(Code)



LOG_CKPT_START
final public static LogEntryType LOG_CKPT_START(Code)



LOG_DBIN
final public static LogEntryType LOG_DBIN(Code)



LOG_DEL_DUPLN
final public static LogEntryType LOG_DEL_DUPLN(Code)



LOG_DEL_DUPLN_TRANSACTIONAL
final public static LogEntryType LOG_DEL_DUPLN_TRANSACTIONAL(Code)



LOG_DIN
final public static LogEntryType LOG_DIN(Code)



LOG_DUPCOUNTLN
final public static LogEntryType LOG_DUPCOUNTLN(Code)



LOG_DUPCOUNTLN_TRANSACTIONAL
final public static LogEntryType LOG_DUPCOUNTLN_TRANSACTIONAL(Code)



LOG_DUP_BIN_DELTA
final public static LogEntryType LOG_DUP_BIN_DELTA(Code)



LOG_FILESUMMARYLN
final public static LogEntryType LOG_FILESUMMARYLN(Code)



LOG_FILE_HEADER
final public static LogEntryType LOG_FILE_HEADER(Code)



LOG_IN
final public static LogEntryType LOG_IN(Code)



LOG_IN_DELETE_INFO
final public static LogEntryType LOG_IN_DELETE_INFO(Code)



LOG_IN_DUPDELETE_INFO
final public static LogEntryType LOG_IN_DUPDELETE_INFO(Code)



LOG_LN
final public static LogEntryType LOG_LN(Code)



LOG_LN_TRANSACTIONAL
final public static LogEntryType LOG_LN_TRANSACTIONAL(Code)



LOG_MAPLN
final public static LogEntryType LOG_MAPLN(Code)



LOG_MAPLN_TRANSACTIONAL
final public static LogEntryType LOG_MAPLN_TRANSACTIONAL(Code)



LOG_NAMELN
final public static LogEntryType LOG_NAMELN(Code)



LOG_NAMELN_TRANSACTIONAL
final public static LogEntryType LOG_NAMELN_TRANSACTIONAL(Code)



LOG_ROOT
final public static LogEntryType LOG_ROOT(Code)



LOG_TRACE
final public static LogEntryType LOG_TRACE(Code)



LOG_TXN_ABORT
final public static LogEntryType LOG_TXN_ABORT(Code)



LOG_TXN_COMMIT
final public static LogEntryType LOG_TXN_COMMIT(Code)



LOG_TXN_PREPARE
final public static LogEntryType LOG_TXN_PREPARE(Code)




Constructor Detail
LogEntryType
LogEntryType(byte typeNum, byte version)(Code)
For base class support.




Method Detail
equals
public boolean equals(Object obj)(Code)



equalsType
boolean equalsType(byte typeNum, byte version)(Code)
Check for equality without making a new object.



equalsType
public boolean equalsType(byte typeNum)(Code)



findType
public static LogEntryType findType(byte typeNum, byte version)(Code)
the static version of this type



getAllTypes
public static Set getAllTypes()(Code)
Get a copy of all types for unit testing.



getNewLogEntry
LogEntry getNewLogEntry() throws DatabaseException(Code)
a clone of the log entry type for a given log type.



getSharedLogEntry
public LogEntry getSharedLogEntry()(Code)
the log entry type owned by the shared, static version



getTypeNum
byte getTypeNum()(Code)



getVersion
byte getVersion()(Code)



getVersionValue
public static byte getVersionValue(byte version)(Code)
Return the version value, clearing away provisional and replicated bits.



hashCode
public int hashCode()(Code)
This is used as a hash key.



isEntryProvisional
static boolean isEntryProvisional(byte version)(Code)
true if the provisional bit is set.



isEntryReplicated
public static boolean isEntryReplicated(byte version)(Code)
true if the replicated bit is set.



isNodeType
public static boolean isNodeType(byte typeNum, byte version)(Code)



isNodeType
public boolean isNodeType()(Code)



isTransactional
public boolean isTransactional()(Code)
Return true if this log entry has transactional information in it, like a commit or abort record, or a transactional LN.



isTypeReplicated
public boolean isTypeReplicated()(Code)
Return true if this log entry should be transmitted to other sites if the environment is part of a replication group.



isValidType
static boolean isValidType(byte typeNum)(Code)
true if type number is valid.



marshallOutsideLatch
public boolean marshallOutsideLatch()(Code)
Return true if this log entry should be marshalled into a buffer outside the log write latch. Currently, only the FileSummaryLN needs to be logged inside the log write latch.



setEntryProvisional
static byte setEntryProvisional(byte version)(Code)
Set the provisional bit.



setEntryReplicated
static byte setEntryReplicated(byte version)(Code)
Set the replicated bit



toString
public String toString()(Code)



toStringNoVersion
public String toStringNoVersion()(Code)



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.