def remaining_capacity(self) -> Future[int]: """Returns the remaining capacity of the Ringbuffer. Returns: The remaining capacity of Ringbuffer. """ request = ringbuffer_remaining_capacity_codec.encode_request(self.name) return self._invoke(request, ringbuffer_remaining_capacity_codec.decode_response)
def remaining_capacity(self): """ Returns the remaining capacity of the Ringbuffer. :return: (long), the remaining capacity of Ringbuffer. """ request = ringbuffer_remaining_capacity_codec.encode_request(self.name) return self._invoke( request, ringbuffer_remaining_capacity_codec.decode_response)