Interface AsyncSetDataBuilder

    • Method Detail

      • compressed

        AsyncPathAndBytesable<AsyncStage<org.apache.zookeeper.data.Stat>> compressed()
        Cause the data to be compressed using the configured compression provider
        Returns:
        this
      • compressedWithVersion

        AsyncPathAndBytesable<AsyncStage<org.apache.zookeeper.data.Stat>> compressedWithVersion​(int version)
        Cause the data to be compressed using the configured compression provider. Only sets if the version matches. By default -1 is used which matches all versions.
        Parameters:
        version - version
        Returns:
        this
      • withVersion

        AsyncPathAndBytesable<AsyncStage<org.apache.zookeeper.data.Stat>> withVersion​(int version)
        Only sets if the version matches. By default -1 is used which matches all versions.
        Parameters:
        version - version
        Returns:
        this