public interface IMigrationEnabledJCloudScaleHost extends IJCloudScaleServer
IJCloudScaleServer
IJCloudScaleServerMigration is JCloudScaleServer-side
IVirtualHostMigration
Modifier and Type | Method and Description |
---|---|
void |
deployMigratedCloudObject(String objectId,
String classname,
byte[] serializedCloudObject)
Deploys a previously serialized cloud object.
|
void |
removeCloudObject(String id)
Destroys the remaining cloud object on the source host after a successful
migration.
|
byte[] |
serializeToMigrate(String objectId)
Prepares a cloud object for migration.
|
createNewCloudObject, destroyCloudObject, getCloudObjectField, getCloudObjectType, keepAliveCloudObject, resumeInvocation, setCloudObjectField, shutdown, startInvokingCloudObject, suspendInvocation
byte[] serializeToMigrate(String objectId)
objectId
- The cloud object to prepare/migratevoid deployMigratedCloudObject(String objectId, String classname, byte[] serializedCloudObject)
objectId
- The id of the cloud objectclassname
- Classname of the serialized cloud objectserializedCloudObject
- The serialized cloud objectvoid removeCloudObject(String id)
IJCloudScaleServer.destroyCloudObject(String)
to prevent
ObjectLifecycleEventAspect
from issuing a
ObjectDestroyedEvent
.id
- The id of the migrated cloud objectCopyright © 2014. All Rights Reserved.