Class ServiceMetadata
java.lang.Object
dev.restate.admin.model.ServiceMetadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.abortTimeout(String abortTimeout) Deprecated.addHandlersItem(HandlerMetadata handlersItem) Deprecated.deploymentId(String deploymentId) Deprecated.documentation(String documentation) Deprecated.booleanDeprecated.Return true if this ServiceMetadata object is equal to o.Deprecated.This timer guards against stalled service/handler invocations that are supposed to terminate.Deprecated.Deployment exposing the latest revision of the service.Deprecated.Documentation of the service, as propagated by the SDKs.Deprecated.Get handlersDeprecated.The retention duration of idempotent requests for this service.Deprecated.This timer guards against stalled service/handler invocations.Deprecated.Additional service metadata, as propagated by the SDKs.getName()Deprecated.Fully qualified name of the serviceDeprecated.If true, the service can be invoked through the ingress.Deprecated.Latest revision of the service.getTy()Deprecated.Get tyDeprecated.The retention duration of workflows.handlers(List<HandlerMetadata> handlers) Deprecated.inthashCode()Deprecated.idempotencyRetention(String idempotencyRetention) Deprecated.inactivityTimeout(String inactivityTimeout) Deprecated.Deprecated.Deprecated.putMetadataItem(String key, String metadataItem) Deprecated.Deprecated.voidsetAbortTimeout(String abortTimeout) Deprecated.voidsetDeploymentId(String deploymentId) Deprecated.voidsetDocumentation(String documentation) Deprecated.voidsetHandlers(List<HandlerMetadata> handlers) Deprecated.voidsetIdempotencyRetention(String idempotencyRetention) Deprecated.voidsetInactivityTimeout(String inactivityTimeout) Deprecated.voidsetMetadata(Map<String, String> metadata) Deprecated.voidDeprecated.voidDeprecated.voidsetRevision(Integer revision) Deprecated.voidsetTy(ServiceType ty) Deprecated.voidsetWorkflowCompletionRetention(String workflowCompletionRetention) Deprecated.toString()Deprecated.Deprecated.Convert the instance into URL query string.toUrlQueryString(String prefix) Deprecated.Convert the instance into URL query string.ty(ServiceType ty) Deprecated.workflowCompletionRetention(String workflowCompletionRetention) Deprecated.
-
Field Details
-
JSON_PROPERTY_NAME
-
JSON_PROPERTY_HANDLERS
-
JSON_PROPERTY_TY
-
JSON_PROPERTY_DOCUMENTATION
-
JSON_PROPERTY_METADATA
-
JSON_PROPERTY_DEPLOYMENT_ID
-
JSON_PROPERTY_REVISION
-
JSON_PROPERTY_PUBLIC
-
JSON_PROPERTY_IDEMPOTENCY_RETENTION
-
JSON_PROPERTY_WORKFLOW_COMPLETION_RETENTION
-
JSON_PROPERTY_INACTIVITY_TIMEOUT
-
JSON_PROPERTY_ABORT_TIMEOUT
-
-
Constructor Details
-
ServiceMetadata
public ServiceMetadata()Deprecated.
-
-
Method Details
-
name
Deprecated. -
getName
-
setName
Deprecated. -
handlers
Deprecated. -
addHandlersItem
Deprecated. -
getHandlers
-
setHandlers
Deprecated. -
ty
Deprecated. -
getTy
-
setTy
Deprecated. -
documentation
Deprecated. -
getDocumentation
Deprecated.Documentation of the service, as propagated by the SDKs.- Returns:
- documentation
-
setDocumentation
Deprecated. -
metadata
Deprecated. -
putMetadataItem
Deprecated. -
getMetadata
-
setMetadata
-
deploymentId
Deprecated. -
getDeploymentId
Deprecated.Deployment exposing the latest revision of the service.- Returns:
- deploymentId
-
setDeploymentId
Deprecated. -
revision
Deprecated. -
getRevision
Deprecated.Latest revision of the service. minimum: 0- Returns:
- revision
-
setRevision
Deprecated. -
_public
Deprecated. -
getPublic
Deprecated.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
Deprecated. -
idempotencyRetention
Deprecated. -
getIdempotencyRetention
Deprecated.The retention duration of idempotent requests for this service.- Returns:
- idempotencyRetention
-
setIdempotencyRetention
Deprecated. -
workflowCompletionRetention
Deprecated. -
getWorkflowCompletionRetention
Deprecated.The retention duration of workflows. Only available on workflow services.- Returns:
- workflowCompletionRetention
-
setWorkflowCompletionRetention
Deprecated. -
inactivityTimeout
Deprecated. -
getInactivityTimeout
Deprecated.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. This overrides the default inactivity timeout set in invoker options.- Returns:
- inactivityTimeout
-
setInactivityTimeout
Deprecated. -
abortTimeout
Deprecated. -
getAbortTimeout
Deprecated.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. This overrides the default abort timeout set in invoker options.- Returns:
- abortTimeout
-
setAbortTimeout
Deprecated. -
equals
-
hashCode
-
toString
-
toUrlQueryString
Deprecated.Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-