def add_interceptor(self, interceptor):
return self._encode_invoke(map_add_interceptor_codec, interceptor=self._to_data(interceptor))<EOL>
Adds an interceptor for this map. Added interceptor will intercept operations and execute user defined methods.

:param interceptor: (object), interceptor for the map which includes user defined methods.
:return: (str),id of registered interceptor.