public interface PublishStoreResizeHandler
boolean invoke(Store store, long size)
Storewhen it wants to attempt a resize. Rather than allow a resize request to grow the store, and implementation could choose to flush the store (to allow space to be freed up) at the expense of publishing performance. If the store's unpersisted count doesn't decrease after a flush times out, it could indicate the client is disconnected or a server-side issue such as a synchronous replication destination is down.
store- The store sending the resize request.
size- The new size the store would like to resize to.