Class ModifyServiceRequest

java.lang.Object
dev.restate.admin.model.ModifyServiceRequest

public class ModifyServiceRequest extends Object
ModifyServiceRequest
  • Field Details Link icon

  • Constructor Details Link icon

    • ModifyServiceRequest Link icon

      public ModifyServiceRequest()
  • Method Details Link icon

    • _public Link icon

      public ModifyServiceRequest _public(Boolean _public)
    • getPublic Link icon

      @Nullable public Boolean getPublic()
      If true, the service can be invoked through the ingress. If false, the service can be invoked only from another Restate service.
      Returns:
      _public
    • setPublic Link icon

      public void setPublic(Boolean _public)
    • idempotencyRetention Link icon

      public ModifyServiceRequest idempotencyRetention(String idempotencyRetention)
    • getIdempotencyRetention Link icon

      @Nullable public String getIdempotencyRetention()
      Modify the retention of idempotent requests for this service. Can be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format or the ISO8601.
      Returns:
      idempotencyRetention
    • setIdempotencyRetention Link icon

      public void setIdempotencyRetention(String idempotencyRetention)
    • workflowCompletionRetention Link icon

      public ModifyServiceRequest workflowCompletionRetention(String workflowCompletionRetention)
    • getWorkflowCompletionRetention Link icon

      @Nullable public String getWorkflowCompletionRetention()
      Modify the retention of the workflow completion. This can be modified only for workflow services! Can be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format or the ISO8601.
      Returns:
      workflowCompletionRetention
    • setWorkflowCompletionRetention Link icon

      public void setWorkflowCompletionRetention(String workflowCompletionRetention)
    • inactivityTimeout Link icon

      public ModifyServiceRequest inactivityTimeout(String inactivityTimeout)
    • getInactivityTimeout Link icon

      @Nullable public String getInactivityTimeout()
      This timer guards against stalled service/handler invocations. Once it expires, Restate triggers a graceful termination by asking the service invocation to suspend (which preserves intermediate progress). The 'abort timeout' is used to abort the invocation, in case it doesn't react to the request to suspend. Can be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format or the ISO8601. This overrides the default inactivity timeout set in invoker options.
      Returns:
      inactivityTimeout
    • setInactivityTimeout Link icon

      public void setInactivityTimeout(String inactivityTimeout)
    • abortTimeout Link icon

      public ModifyServiceRequest abortTimeout(String abortTimeout)
    • getAbortTimeout Link icon

      @Nullable public String getAbortTimeout()
      This timer guards against stalled service/handler invocations that are supposed to terminate. The abort timeout is started after the 'inactivity timeout' has expired and the service/handler invocation has been asked to gracefully terminate. Once the timer expires, it will abort the service/handler invocation. This timer potentially **interrupts** user code. If the user code needs longer to gracefully terminate, then this value needs to be set accordingly. Can be configured using the [`humantime`](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) format or the ISO8601. This overrides the default abort timeout set in invoker options.
      Returns:
      abortTimeout
    • setAbortTimeout Link icon

      public void setAbortTimeout(String abortTimeout)
    • equals Link icon

      public boolean equals(Object o)
      Return true if this ModifyServiceRequest object is equal to o.
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString Link icon

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString Link icon

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string