public interface ServerActivity
Modifier and Type | Method and Description |
---|---|
void |
preSuspend(ServerActivityCallback listener)
Invoked before the server is paused.
|
void |
resume()
Invoked if the suspend or pre-suspened is cancelled
|
void |
suspended(ServerActivityCallback listener)
Invoked once the suspend process has started.
|
void preSuspend(ServerActivityCallback listener)
listener
- The listener to invoker when the pre-pause phase is donevoid suspended(ServerActivityCallback listener)
listener
- The listener to invoke when suspend is done.void resume()
Copyright © 2023 JBoss by Red Hat. All rights reserved.