Class ObjectModel

java.lang.Object
com.arjuna.ats.arjuna.ObjectModel

public class ObjectModel extends Object
An enumeration of the types of object model supported. Based upon the model type, certain optimisations may be used.
Since:
JTS 1.0.
Version:
$Id: ObjectModel.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark@arjuna.com)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    In the MULTIPLE model, it is assumed that multiple instances of the object may exist in different JVMs concurrently, or within the same JVM if each thread gets its own instance.
    static final int
    In the SINGLE model, it is assumed that only a single instance of the object will exist within a single JVM, and that it will be shared between threads.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    print(PrintWriter strm, int os)
    Print out a human-readable form of the model type.
    static String
    stringForm(int os)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SINGLE

      public static final int SINGLE
      In the SINGLE model, it is assumed that only a single instance of the object will exist within a single JVM, and that it will be shared between threads.
      See Also:
    • MULTIPLE

      public static final int MULTIPLE
      In the MULTIPLE model, it is assumed that multiple instances of the object may exist in different JVMs concurrently, or within the same JVM if each thread gets its own instance.
      See Also:
  • Constructor Details

    • ObjectModel

      public ObjectModel()
  • Method Details

    • stringForm

      public static String stringForm(int os)
    • print

      public static void print(PrintWriter strm, int os)
      Print out a human-readable form of the model type.