AMPS C# Client  5.3.5.0
AMPS C# Client for .NET
AMPS.Client.BookmarkStoreResizeHandler Interface Reference

Interface used to indicate whether a BookmarkStore implementation is allowed to grow(or shrink) to the requested size. If the request to resize is denied, a BookmarkStore implementation may choose how to handle the failure: if the bookmark for a message cannot be successfully logged, an implementation may choose to throw an exception or may simply retry the operation until space is available. More...

Public Member Functions

bool invoke (BookmarkStore store, Field subId, long size)
 Called by the store when it wants to attempt a resize. More...
 

Detailed Description

Interface used to indicate whether a BookmarkStore implementation is allowed to grow(or shrink) to the requested size. If the request to resize is denied, a BookmarkStore implementation may choose how to handle the failure: if the bookmark for a message cannot be successfully logged, an implementation may choose to throw an exception or may simply retry the operation until space is available.

Member Function Documentation

◆ invoke()

bool AMPS.Client.BookmarkStoreResizeHandler.invoke ( BookmarkStore  store,
Field  subId,
long  size 
)

Called by the store when it wants to attempt a resize.

Parameters
storeHandles all operations for a bookmark.
subIdA single field in an AMPS message.
storeSize of the field.

The documentation for this interface was generated from the following file: