コード例 #1
0
 def size(self):
     """Returns the number of entries in this multimap.
     
     Returns:
         hazelcast.future.Future[int]: Number of entries in this multimap.
     """
     request = replicated_map_size_codec.encode_request(self.name)
     return self._invoke_on_partition(request, self._partition_id, replicated_map_size_codec.decode_response)
コード例 #2
0
    def size(self):
        """
        Returns the number of entries in this multimap.

        :return: (int), number of entries in this multimap.
        """
        request = replicated_map_size_codec.encode_request(self.name)
        return self._invoke_on_partition(
            request, self._partition_id,
            replicated_map_size_codec.decode_response)