def size(self): """Returns number of items in the Ringbuffer. Returns: hazelcast.future.Future[int]: The size of Ringbuffer. """ request = ringbuffer_size_codec.encode_request(self.name) return self._invoke(request, ringbuffer_size_codec.decode_response)
def size(self): """ Returns number of items in the Ringbuffer. :return: (long), the size of Ringbuffer. """ request = ringbuffer_size_codec.encode_request(self.name) return self._invoke(request, ringbuffer_size_codec.decode_response)