|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.shirako.plugins.ShirakoPlugin
orca.cod.plugins.CodBasePlugin
public abstract class CodBasePlugin
| Field Summary | |
|---|---|
static int |
LocationTransferInComplete
|
protected ConfigurationPropertiesMapper |
propertiesMapper
|
| Fields inherited from class orca.shirako.plugins.ShirakoPlugin |
|---|
actor, config, db, factories, keystoreManager, logger, PropertyConfig, PropertyConfigClass, PropertyDatabase, PropertyDatabaseClass |
| Constructor Summary | |
|---|---|
CodBasePlugin()
|
|
| Method Summary | |
|---|---|
Slice |
createSlice(SliceID sliceID,
java.lang.String name,
ResourceData properties,
java.lang.Object other)
Slice factory. |
protected abstract java.util.Properties |
getConfigurationProperties(ResourceReservation reservation,
Node node)
|
void |
initialize()
Initialization handler |
protected void |
loadFactories()
Populates the factories list. |
protected void |
makeAndAttachCopy(Node node)
Prepares properties to be passed down to the configuration engine. |
void |
modify(ResourceReservation reservation,
Node node)
|
protected void |
notify(int id,
IReservation r)
Raises the specified event |
void |
probe(ResourceReservation reservation,
Node node)
|
protected void |
processJoinComplete(java.lang.Object token,
java.util.Properties properties)
Callback handler for a completing join request |
protected void |
processLeaveComplete(java.lang.Object token,
java.util.Properties properties)
Callback handler for a completing leave request. |
protected void |
processModifyComplete(java.lang.Object token,
java.util.Properties properties)
|
protected void |
processProbeComplete(java.lang.Object token,
java.util.Properties properties)
Callback handler for a completing probe request |
protected void |
processRecoverComplete(java.lang.Object token,
java.util.Properties properties)
Deprecated. |
protected void |
processSavedProperties(Node node,
java.util.Properties p)
|
void |
recover(ResourceReservation reservation,
Node node)
|
void |
reset()
Refreshes the actor |
void |
restartConfigurationActions(ResourceReservation r)
Restarts any pending configuration actions for the specified reservation |
void |
restartConfigurationActions(ResourceReservation r,
NodeGroup group)
|
void |
setConfigMapUrl(java.lang.String url)
Sets the configuration map location |
void |
transferIn(ResourceReservation reservation,
Node node)
|
void |
transferOut(ResourceReservation reservation,
Node node)
|
| Methods inherited from class orca.shirako.plugins.ShirakoPlugin |
|---|
actorAdded, configurationComplete, getActor, getConfig, getDatabase, getFactory, getKeyStore, getLogger, getResultCode, initializeKeyStore, releaseSlice, reset, revisit, revisit, revisit, save, save, setActor, setConfig, setDatabase, setLogger, validateIncoming |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LocationTransferInComplete
protected ConfigurationPropertiesMapper propertiesMapper
| Constructor Detail |
|---|
public CodBasePlugin()
| Method Detail |
|---|
public void initialize()
throws java.lang.Exception
initialize in interface IInitializeinitialize in class ShirakoPluginjava.lang.Exception
public void restartConfigurationActions(ResourceReservation r)
throws java.lang.Exception
IShirakoPlugin
restartConfigurationActions in interface IShirakoPluginrestartConfigurationActions in class ShirakoPluginr - reservation
java.lang.Exception
public void restartConfigurationActions(ResourceReservation r,
NodeGroup group)
throws java.lang.Exception
java.lang.Exception
protected void processJoinComplete(java.lang.Object token,
java.util.Properties properties)
ShirakoPlugin
processJoinComplete in class ShirakoPlugin
protected void processLeaveComplete(java.lang.Object token,
java.util.Properties properties)
ShirakoPlugin
processLeaveComplete in class ShirakoPlugin
protected void processModifyComplete(java.lang.Object token,
java.util.Properties properties)
processModifyComplete in class ShirakoPlugin
protected void processProbeComplete(java.lang.Object token,
java.util.Properties properties)
ShirakoPlugin
processProbeComplete in class ShirakoPlugin
@Deprecated
protected void processRecoverComplete(java.lang.Object token,
java.util.Properties properties)
ShirakoPlugin
processRecoverComplete in class ShirakoPlugin
public Slice createSlice(SliceID sliceID,
java.lang.String name,
ResourceData properties,
java.lang.Object other)
throws java.lang.Exception
ShirakoPlugin
createSlice in interface IShirakoPlugincreateSlice in class ShirakoPluginsliceID - guid for the slicename - name for the sliceproperties - properties for the sliceother - other relevant information
java.lang.Exception
protected abstract java.util.Properties getConfigurationProperties(ResourceReservation reservation,
Node node)
throws java.lang.Exception
java.lang.Exception
protected void makeAndAttachCopy(Node node)
throws java.lang.Exception
reservation - node -
java.lang.Exception
protected void processSavedProperties(Node node,
java.util.Properties p)
protected void notify(int id,
IReservation r)
throws java.lang.Exception
id - event idr - reservation this event is associated with
java.lang.Exception
public void transferIn(ResourceReservation reservation,
Node node)
throws java.lang.Exception
java.lang.Exception
public void transferOut(ResourceReservation reservation,
Node node)
throws java.lang.Exception
java.lang.Exception
public void modify(ResourceReservation reservation,
Node node)
throws java.lang.Exception
java.lang.Exception
public void probe(ResourceReservation reservation,
Node node)
throws java.lang.Exception
java.lang.Exception
public void recover(ResourceReservation reservation,
Node node)
throws java.lang.Exception
java.lang.Exception
public void reset()
throws java.lang.Exception
ShirakoPlugin
reset in interface IShirakoPluginreset in class ShirakoPluginjava.lang.Exception
protected void loadFactories()
throws java.lang.Exception
ShirakoPlugin
loadFactories in class ShirakoPluginjava.lang.Exceptionpublic void setConfigMapUrl(java.lang.String url)
url -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||