def get_all(self) -> Future[typing.List[ItemType]]: """Returns all the items in the set. Returns: List of the items in this set. """ def handler(message): return ImmutableLazyDataList( set_get_all_codec.decode_response(message), self._to_object) request = set_get_all_codec.encode_request(self.name) return self._invoke(request, handler)
def get_all(self): """ Returns all of the items in the set. :return: (Sequence), list of the items in this set. """ def handler(message): return ImmutableLazyDataList( set_get_all_codec.decode_response(message), self._to_object) request = set_get_all_codec.encode_request(self.name) return self._invoke(request, handler)
def get_all(self): # type: () -> Future[List[Any]] """Returns all of the items in the set. Returns: hazelcast.future.Future[list]: List of the items in this set. """ def handler(message): return ImmutableLazyDataList( set_get_all_codec.decode_response(message), self._to_object) request = set_get_all_codec.encode_request(self.name) return self._invoke(request, handler)