Package com.arjuna.ats.arjuna
Class ObjectModel
java.lang.Object
com.arjuna.ats.arjuna.ObjectModel
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
Modifier and TypeFieldDescriptionstatic 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
print
(PrintWriter strm, int os) Print out a human-readable form of the model type.static String
stringForm
(int os)
-
Field Details
-
SINGLE
public static final int SINGLEIn 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 MULTIPLEIn 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
-
print
Print out a human-readable form of the model type.
-