Class TruncateProxyOperation.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withSpaceName

        public TruncateProxyOperation.Builder withSpaceName​(String spaceName)
        Specify name of Tarantool server space to work with
        Parameters:
        spaceName - name of Tarantool server space
        Returns:
        builder
      • withFunctionName

        public TruncateProxyOperation.Builder withFunctionName​(String functionName)
        Specify name of the Tarantool server function called through preparing request
        Parameters:
        functionName - name of Tarantool server function
        Returns:
        builder
      • withRequestTimeout

        public TruncateProxyOperation.Builder withRequestTimeout​(int requestTimeout)
        Specify response reading timeout.
        Parameters:
        requestTimeout - the timeout for reading the responses from Tarantool server, in milliseconds
        Returns:
        builder
      • build

        public TruncateProxyOperation build()
        Prepare request of truncate operation to Tarantool server
        Returns:
        TruncateProxyOperation instance