com.zeroturnaround.liverebel.api.update
Interface PreparedPausableUpdate

All Superinterfaces:
PreparedUpdate
All Known Subinterfaces:
ConfigurableUpdate
All Known Implementing Classes:
UpdateImpl

public interface PreparedPausableUpdate
extends PreparedUpdate

Update ready to be executed (optionally with a pause).

Author:
Rein Raudjärv
See Also:
PreparedUpdate, PausedUpdate

Method Summary
 PausedUpdate executeWithPause()
          Execute this update with a pause.
 PausingUpdate startWithPause()
          Start this update with a pause.
 
Methods inherited from interface com.zeroturnaround.liverebel.api.update.PreparedUpdate
execute, start
 

Method Detail

executeWithPause

PausedUpdate executeWithPause()
Execute this update with a pause.

While all incoming requests are blocked user can e.g. update the database and then invoke PausedUpdate.resume() when ready to finish this update.

Returns:
call-back for resuming or canceling this update.

startWithPause

PausingUpdate startWithPause()
Start this update with a pause.



Copyright © 2013. All Rights Reserved.