com.arjuna.ats.arjuna
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 |
static 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. |
static 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ObjectModel
public ObjectModel()
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.
Copyright © 2012. All Rights Reserved.