Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ updateApplicationWithoutRestartAsync()

virtual void IceGrid::AsyncAdmin::updateApplicationWithoutRestartAsync ( ApplicationUpdateDescriptor descriptor,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Updates a deployed application.

This operation succeeds only when no server restarts are necessary for the update of the application. If some servers need to be restarted, the synchronization is rejected with a DeploymentException.

Parameters
descriptorThe update descriptor.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.
Exceptions
IceGrid::AccessDeniedExceptionThrown when the session doesn't hold the exclusive lock or when another session is holding the lock.
IceGrid::ApplicationNotExistExceptionThrown when the application doesn't exist.
IceGrid::DeploymentExceptionThrown when the application deployment failed.