Package com.arjuna.ats.arjuna
Class ObjectModel
- java.lang.Object
-
- com.arjuna.ats.arjuna.ObjectModel
-
public class ObjectModel extends java.lang.ObjectAn 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 intMULTIPLEIn 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 intSINGLEIn 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 ObjectModel()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidprint(java.io.PrintWriter strm, int os)Print out a human-readable form of the model type.static java.lang.StringstringForm(int os)
-
-
-
Field Detail
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
-