|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.shirako.kernel.Slice
orca.cod.CodSlice
public class CodSlice
Attributes and global state for a COD slice. One CodSlice object is attached to each COD instance of slices.Slice.
On a Service Manager, the CodSlice is created explicitly and primed with with desired parameters for the Slice. CodSlice installs these parameters in the Slice properties, and they are passed to the Authority in the Slice property list.
On an Authority, the CodSlice is created on first allocation of resources for the slice. Its attributes are determined from the Slice properties and their interaction with Site parameters and policies.
| Field Summary | |
|---|---|
static java.lang.String |
PropertyHostPrefix
|
| Fields inherited from class orca.shirako.kernel.Slice |
|---|
controller, description, guard, guid, owner, PropertyClass, PropertyController, PropertyControllerClass, PropertyDescription, PropertyGuard, PropertyGuid, PropertyName, PropertyOwner, PropertyProperties, PropertyResourceType, PropertyType, reservations, resourceType, rsrcdata, slicename, type |
| Constructor Summary | |
|---|---|
CodSlice()
|
|
CodSlice(SliceID sliceID,
java.lang.String name)
|
|
CodSlice(SliceID sliceID,
java.lang.String name,
ResourceData rd)
|
|
CodSlice(java.lang.String name)
Constructor for Service Manager side, called from main. |
|
CodSlice(java.lang.String name,
ResourceData rd)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getHostPrefix()
|
void |
revisit(IReservation reservation,
Node n)
Reserve all soft resources held by this Node. |
void |
setHostPrefix(java.lang.String prefix)
Set the host prefix. |
void |
transferIn(ResourceReservation reservation,
Node node)
Upcall from NodeGroup to transfer a node into a slice. |
void |
transferOut(IReservation reservation,
Node node)
Upcall from NodeGroup to transfer a node out of a slice. |
| Methods inherited from class orca.shirako.kernel.Slice |
|---|
cloneRequest, createInstance, getConfigurationProperties, getController, getDescription, getLocalProperties, getName, getName, getOwner, getRequestProperties, getReservations, getReservationsArray, getResourceData, getResourceProperties, getResourceType, getSliceID, getSliceID, Guard, isBrokerClient, isBrokerClient, isClient, isClient, isEmpty, isInventory, isInventory, prepare, register, reset, revisit, save, save, setBrokerClient, setClient, setController, setDescription, setGuard, setInventory, setName, setOwner, setResourceData, setResourceType, softLookup, toString, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PropertyHostPrefix
| Constructor Detail |
|---|
public CodSlice()
public CodSlice(java.lang.String name)
name - name for this slice
public CodSlice(SliceID sliceID,
java.lang.String name)
public CodSlice(java.lang.String name,
ResourceData rd)
public CodSlice(SliceID sliceID,
java.lang.String name,
ResourceData rd)
| Method Detail |
|---|
public void setHostPrefix(java.lang.String prefix)
prefix - the prefixpublic java.lang.String getHostPrefix()
public void revisit(IReservation reservation,
Node n)
throws java.lang.Exception
n - the noderesprop - reservation properties
exception
java.lang.Exception
public void transferIn(ResourceReservation reservation,
Node node)
throws java.lang.Exception
node - the node objectresprop - reservation properties
java.lang.Exception
public void transferOut(IReservation reservation,
Node node)
throws java.lang.Exception
node - the node objectresprop - reservation properties
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||