Java Doc for StatefulBuffer.java in  » Database-DBMS » db4o-6.4 » com » db4o » internal » 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 » db4o 6.4 » com.db4o.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.db4o.internal.Buffer
      com.db4o.internal.StatefulBuffer

StatefulBuffer
final public class StatefulBuffer extends Buffer (Code)
public for .NET conversion reasons TODO: Split this class for individual usecases. Only use the member variables needed for the respective usecase.


Field Summary
public  int_payloadOffset
    
 Transactioni_trans
    

Constructor Summary
public  StatefulBuffer(Transaction a_trans, int a_initialBufferSize)
    
public  StatefulBuffer(Transaction a_trans, int address, int length)
    
public  StatefulBuffer(Transaction trans, Slot slot)
    
public  StatefulBuffer(Transaction trans, Pointer4 pointer)
    

Method Summary
public  voidaddress(int a_address)
    
public  intaddressOffset()
    
public  intcascadeDeletes()
    
public  voiddebugCheckBytes()
    
public  LocalObjectContainerfile()
    
public  intgetAddress()
    
public  intgetID()
    
public  intgetInstantiationDepth()
    
public  ObjectContainerBasegetStream()
    
public  TransactiongetTransaction()
    
public  intgetUpdateDepth()
    
public  byte[]getWrittenBytes()
    
public  intlength()
    
public  voidmoveForward(int length)
    
public  voidnoXByteCheck()
    
public  Pointer4pointer()
    
public  intpreparePayloadRead()
    
public  voidread()
    
final public  StatefulBufferreadEmbeddedObject()
    
public  BufferreadPayloadWriter(int offset, int length)
    
final public  StatefulBufferreadYapBytes()
    
public  voidremoveFirstBytes(int aLength)
    
public  intreserveAndPointToPayLoadSlot(int length)
    
public  voidsetCascadeDeletes(int depth)
    
public  voidsetID(int a_id)
    
public  voidsetInstantiationDepth(int a_depth)
    
public  voidsetTransaction(Transaction aTrans)
    
public  voidsetUpdateDepth(int a_depth)
    
public  Slotslot()
    
public  voidslotDelete()
    
public  ObjectContainerBasestream()
    
public  StringtoString()
    
public  voidtrim4(int a_offset, int a_length)
    
public  voiduseSlot(int a_adress)
    
public  voiduseSlot(int address, int length)
    
public  voiduseSlot(Slot slot)
    
public  voiduseSlot(int a_id, int a_adress, int a_length)
    
public  voidwrite()
    
public  voidwriteEmbeddedNull()
    
public  voidwriteEncrypt()
    
public  voidwriteForward()
    
public  voidwriteIDs(IntIterator4 idIterator, int maxCount)
    
public  voidwritePayload(StatefulBuffer payLoad, boolean topLevel)
    
 voidwriteShortString(String a_string)
    

Field Detail
_payloadOffset
public int _payloadOffset(Code)



i_trans
Transaction i_trans(Code)




Constructor Detail
StatefulBuffer
public StatefulBuffer(Transaction a_trans, int a_initialBufferSize)(Code)



StatefulBuffer
public StatefulBuffer(Transaction a_trans, int address, int length)(Code)



StatefulBuffer
public StatefulBuffer(Transaction trans, Slot slot)(Code)



StatefulBuffer
public StatefulBuffer(Transaction trans, Pointer4 pointer)(Code)




Method Detail
address
public void address(int a_address)(Code)



addressOffset
public int addressOffset()(Code)



cascadeDeletes
public int cascadeDeletes()(Code)



debugCheckBytes
public void debugCheckBytes()(Code)



file
public LocalObjectContainer file()(Code)



getAddress
public int getAddress()(Code)



getID
public int getID()(Code)



getInstantiationDepth
public int getInstantiationDepth()(Code)



getStream
public ObjectContainerBase getStream()(Code)



getTransaction
public Transaction getTransaction()(Code)



getUpdateDepth
public int getUpdateDepth()(Code)



getWrittenBytes
public byte[] getWrittenBytes()(Code)



length
public int length()(Code)



moveForward
public void moveForward(int length)(Code)



noXByteCheck
public void noXByteCheck()(Code)



pointer
public Pointer4 pointer()(Code)



preparePayloadRead
public int preparePayloadRead()(Code)



read
public void read() throws Db4oIOException(Code)



readEmbeddedObject
final public StatefulBuffer readEmbeddedObject() throws Db4oIOException(Code)



readPayloadWriter
public Buffer readPayloadWriter(int offset, int length)(Code)



readYapBytes
final public StatefulBuffer readYapBytes()(Code)



removeFirstBytes
public void removeFirstBytes(int aLength)(Code)



reserveAndPointToPayLoadSlot
public int reserveAndPointToPayLoadSlot(int length)(Code)



setCascadeDeletes
public void setCascadeDeletes(int depth)(Code)



setID
public void setID(int a_id)(Code)



setInstantiationDepth
public void setInstantiationDepth(int a_depth)(Code)



setTransaction
public void setTransaction(Transaction aTrans)(Code)



setUpdateDepth
public void setUpdateDepth(int a_depth)(Code)



slot
public Slot slot()(Code)



slotDelete
public void slotDelete()(Code)



stream
public ObjectContainerBase stream()(Code)



toString
public String toString()(Code)



trim4
public void trim4(int a_offset, int a_length)(Code)



useSlot
public void useSlot(int a_adress)(Code)



useSlot
public void useSlot(int address, int length)(Code)



useSlot
public void useSlot(Slot slot)(Code)



useSlot
public void useSlot(int a_id, int a_adress, int a_length)(Code)



write
public void write()(Code)



writeEmbeddedNull
public void writeEmbeddedNull()(Code)



writeEncrypt
public void writeEncrypt()(Code)



writeForward
public void writeForward()(Code)



writeIDs
public void writeIDs(IntIterator4 idIterator, int maxCount)(Code)



writePayload
public void writePayload(StatefulBuffer payLoad, boolean topLevel)(Code)



writeShortString
void writeShortString(String a_string)(Code)



Fields inherited from com.db4o.internal.Buffer
public byte[] _buffer(Code)(Java Doc)
public int _offset(Code)(Java Doc)

Methods inherited from com.db4o.internal.Buffer
public void append(byte[] bytes)(Code)(Java Doc)
public void append(Pointer4 pointer, Buffer buffer)(Code)(Java Doc)
protected boolean canWritePersistentBase()(Code)(Java Doc)
final public boolean containsTheSame(Buffer other)(Code)(Java Doc)
public void copyBytes(byte[] target, int sourceOffset, int targetOffset, int length)(Code)(Java Doc)
public void copyTo(Buffer to, int fromOffset, int toOffset, int length)(Code)(Java Doc)
public void incrementIntSize()(Code)(Java Doc)
public void incrementOffset(int a_by)(Code)(Java Doc)
public int length()(Code)(Java Doc)
public int offset()(Code)(Java Doc)
public void offset(int offset)(Code)(Java Doc)
public void read(ObjectContainerBase stream, int address, int addressOffset)(Code)(Java Doc)
final public void readBegin(byte identifier)(Code)(Java Doc)
public BitMap4 readBitMap(int bitCount)(Code)(Java Doc)
public byte readByte()(Code)(Java Doc)
public byte[] readBytes(int a_length)(Code)(Java Doc)
public void readBytes(byte[] bytes)(Code)(Java Doc)
final public Buffer readEmbeddedObject(Transaction trans) throws Db4oIOException(Code)(Java Doc)
public void readEncrypt(ObjectContainerBase stream, int address) throws Db4oIOException(Code)(Java Doc)
public void readEnd()(Code)(Java Doc)
final public int readInt()(Code)(Java Doc)
public long readLong()(Code)(Java Doc)
public Buffer readPayloadReader(int offset, int length)(Code)(Java Doc)
public Slot readSlot()(Code)(Java Doc)
void replaceWith(byte[] a_bytes)(Code)(Java Doc)
public void seek(int offset)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void writeBegin(byte a_identifier)(Code)(Java Doc)
final public void writeBitMap(BitMap4 nullBitMap)(Code)(Java Doc)
final public void writeByte(byte a_byte)(Code)(Java Doc)
public void writeBytes(byte[] bytes)(Code)(Java Doc)
public void writeEnd()(Code)(Java Doc)
public void writeIDOf(Transaction trans, Object obj)(Code)(Java Doc)
public void writeIDOf(Transaction trans, PersistentBase persistent)(Code)(Java Doc)
final public void writeInt(int a_int)(Code)(Java Doc)
public void writeLong(long l)(Code)(Java Doc)
public void writeShortString(Transaction trans, String a_string)(Code)(Java Doc)
final public void writeSlot(Slot slot)(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.