def size(self) -> Future[int]: """Returns the number of items in this set. Returns: Number of items in this set. """ request = set_size_codec.encode_request(self.name) return self._invoke(request, set_size_codec.decode_response)
def size(self): """ Returns the number of items in this set. :return: (int), number of items in this set. """ request = set_size_codec.encode_request(self.name) return self._invoke(request, set_size_codec.decode_response)
def size(self): # type: () -> Future[int] """Returns the number of items in this set. Returns: hazelcast.future.Future[int]: Number of items in this set. """ request = set_size_codec.encode_request(self.name) return self._invoke(request, set_size_codec.decode_response)