com.mobixess.jodb.core.transaction
Class TransactionUtils

java.lang.Object
  extended by com.mobixess.jodb.core.transaction.TransactionUtils

public class TransactionUtils
extends java.lang.Object

Author:
Mobixess

Nested Class Summary
static class TransactionUtils.DataContainersCache
           
 
Constructor Summary
TransactionUtils()
           
 
Method Summary
static boolean compareToPersistentValues(JODBSession session, java.lang.reflect.Field[] fields, int[] fieldsIDs, java.lang.Object currentObject, JODBIOBase.IOTicket ioTicket, ObjectDataContainer headerData)
           
 void deactivate(JODBSession.ClassDescriptor classDescriptor, java.lang.Object obj, int depth)
           
static TransactionUtils.DataContainersCache getObjectDataContainerCache()
           
static java.lang.Object launchObject(JODBSession session, long offset, java.lang.Object activationInstance, int remainingDepth)
           
static void writeEmptyObjectEntry(java.io.DataOutput dataOutput, long len)
           
static void writeRedirectionEntry(java.io.DataOutput dataOutput, long len, long offset, boolean skipLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionUtils

public TransactionUtils()
Method Detail

compareToPersistentValues

public static boolean compareToPersistentValues(JODBSession session,
                                                java.lang.reflect.Field[] fields,
                                                int[] fieldsIDs,
                                                java.lang.Object currentObject,
                                                JODBIOBase.IOTicket ioTicket,
                                                ObjectDataContainer headerData)
                                         throws java.io.IOException
Throws:
java.io.IOException

writeEmptyObjectEntry

public static void writeEmptyObjectEntry(java.io.DataOutput dataOutput,
                                         long len)
                                  throws java.io.IOException
Throws:
java.io.IOException

writeRedirectionEntry

public static void writeRedirectionEntry(java.io.DataOutput dataOutput,
                                         long len,
                                         long offset,
                                         boolean skipLength)
                                  throws java.io.IOException
Throws:
java.io.IOException

launchObject

public static java.lang.Object launchObject(JODBSession session,
                                            long offset,
                                            java.lang.Object activationInstance,
                                            int remainingDepth)
                                     throws java.io.IOException
Throws:
java.io.IOException

deactivate

public void deactivate(JODBSession.ClassDescriptor classDescriptor,
                       java.lang.Object obj,
                       int depth)
                throws java.io.IOException
Throws:
java.io.IOException

getObjectDataContainerCache

public static TransactionUtils.DataContainersCache getObjectDataContainerCache()


Copyright © Mobixess Inc. All Rights Reserved.