Adds an interceptor for this map.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.2
string AddInterceptor(
IMapInterceptor interceptor
)
Function AddInterceptor (
interceptor As IMapInterceptor
) As String
String^ AddInterceptor(
IMapInterceptor^ interceptor
)
abstract AddInterceptor :
interceptor : IMapInterceptor -> string
Parameters
- interceptor
- Type: Hazelcast.MapIMapInterceptor
map interceptor
Return Value
Type:
Stringid of registered interceptor
Adds an interceptor for this map. Added interceptor will intercept operations
and execute user defined methods and will cancel operations if user defined method throw exception.
Reference