AMPS C# Client
5.3.5.0
AMPS C# Client for .NET
|
Interface used to indicate whether a Store implementation is allowed to grow (or shrink) to the requested size. If the request to resize is denied, a Store implementation may fail the operation that resulted in the request to grow by throwing an exception. More...
Public Member Functions | |
bool | invoke (Store store, long size) |
Called by the Store when 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. More... | |
Interface used to indicate whether a Store implementation is allowed to grow (or shrink) to the requested size. If the request to resize is denied, a Store implementation may fail the operation that resulted in the request to grow by throwing an exception.
bool AMPS.Client.PublishStoreResizeHandler.invoke | ( | Store | store, |
long | size | ||
) |
Called by the Store when 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. |