|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.ext.migration.MigrationStrategyManagerImpl
public class MigrationStrategyManagerImpl
Constructor Summary | |
---|---|
MigrationStrategyManagerImpl()
|
|
MigrationStrategyManagerImpl(Migratable migratableBody)
|
Method Summary | |
---|---|
protected void |
continueStrategy(Body body)
|
protected void |
executeMethodOnArrival(Body body)
|
protected void |
executeMethodOnDeparture(Body body)
|
MigrationStrategy |
getMigrationStrategy()
|
void |
migratedBodyRestarted(MigrationEvent event)
Signals that the migrated body has restarted of the destination host side |
void |
migrationAboutToStart(MigrationEvent event)
Signals that a migration is about to start |
void |
migrationExceptionThrown(MigrationEvent event)
Signals that the migration failed with a exception detailed in the event. |
void |
migrationFinished(MigrationEvent event)
Signals that the migration is finished on the originating host side |
void |
onArrival(java.lang.String s)
|
void |
onDeparture(java.lang.String s)
|
void |
setMigrationStrategy(MigrationStrategy s)
|
void |
startStrategy(Body body)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MigrationStrategyManagerImpl()
public MigrationStrategyManagerImpl(Migratable migratableBody)
Method Detail |
---|
public void onDeparture(java.lang.String s)
onDeparture
in interface MigrationStrategyManager
public void onArrival(java.lang.String s)
onArrival
in interface MigrationStrategyManager
public void startStrategy(Body body) throws MigrationException
startStrategy
in interface MigrationStrategyManager
MigrationException
public MigrationStrategy getMigrationStrategy()
getMigrationStrategy
in interface MigrationStrategyManager
public void setMigrationStrategy(MigrationStrategy s)
setMigrationStrategy
in interface MigrationStrategyManager
public void migrationAboutToStart(MigrationEvent event)
MigrationEventListener
migrationAboutToStart
in interface MigrationEventListener
event
- the event that details the migrationpublic void migrationFinished(MigrationEvent event)
MigrationEventListener
migrationFinished
in interface MigrationEventListener
event
- the event that details the migrationpublic void migrationExceptionThrown(MigrationEvent event)
MigrationEventListener
migrationExceptionThrown
in interface MigrationEventListener
event
- the event that details the exception occured in the migrationpublic void migratedBodyRestarted(MigrationEvent event)
MigrationEventListener
migratedBodyRestarted
in interface MigrationEventListener
event
- the event that details the migrationprotected void executeMethodOnDeparture(Body body) throws MigrationException
MigrationException
protected void executeMethodOnArrival(Body body) throws MigrationException
MigrationException
protected void continueStrategy(Body body) throws MigrationException
MigrationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |