org.apache.openjpa.slice
public class SlicePersistence extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HINT_TARGET
The key for setting the Query hints.
|
Constructor and Description |
---|
SlicePersistence() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getSlice(java.lang.Object obj)
Get the slice identifier for the given instance if it is a managed
instance and has been assigned to a slice.
|
static boolean |
isReplicated(java.lang.Object obj)
Affirms if the given instance is replicated, provided the given instance
is managed.
|
public static final java.lang.String HINT_TARGET
public static java.lang.String getSlice(java.lang.Object obj)
public static boolean isReplicated(java.lang.Object obj)