public class SliceInfo extends Object implements Serializable
Constructor and Description |
---|
SliceInfo(boolean replicated,
List<String> slices)
Generic constructor given one or more slice names.
|
SliceInfo(boolean replicated,
String[] slices)
Generic constructor given one or more slice names.
|
SliceInfo(List<String> slices) |
SliceInfo(String slice)
Constructor for non-replicated instance that is stored in a single slice.
|
SliceInfo(String[] slices)
Constructor for replicated instance that is stored in one or more slices.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getSlices()
Gets the name of the slice(s) held by this receiver.
|
boolean |
isReplicated()
Affirms if this receiver designates replicated instances.
|
SliceInfo |
setInto(OpenJPAStateManager sm)
Sets this receiver as the given StateManager's internal instance-level
data.
|
public SliceInfo(boolean replicated, String[] slices)
public SliceInfo(boolean replicated, List<String> slices)
public SliceInfo(String slice)
public SliceInfo(String[] slices)
public boolean isReplicated()
public String[] getSlices()
public SliceInfo setInto(OpenJPAStateManager sm)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.