Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(String, String, String) - Method in interface dev.tripswitch.TripSwitch.StateChangeListener
- actions() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
actionsrecord component. - actions() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
actionsrecord component. - actions() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
actionsrecord component. - actions(Map<String, Object>) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- actions(Map<String, Object>) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- AdminClient - Class in dev.tripswitch.admin
-
Client for the Tripswitch admin API.
- AdminClient.Builder - Class in dev.tripswitch.admin
- allowRate() - Method in record class dev.tripswitch.admin.BreakerState
-
Returns the value of the
allowRaterecord component. - allowRate() - Method in record class dev.tripswitch.BreakerStatus
-
Returns the value of the
allowRaterecord component. - ApiException - Exception in dev.tripswitch.admin
-
Represents an error response from the Tripswitch API.
- ApiException(int, String, String, String, byte[], Duration) - Constructor for exception dev.tripswitch.admin.ApiException
- apiKey(String) - Method in class dev.tripswitch.admin.AdminClient.Builder
- apiKey(String) - Method in class dev.tripswitch.TripSwitch.Builder
- apply(ExecuteOptions) - Method in interface dev.tripswitch.ExecuteOption
- AVG - Enum constant in enum class dev.tripswitch.admin.BreakerKind
B
- baseUrl(String) - Method in class dev.tripswitch.admin.AdminClient.Builder
- baseUrl(String) - Method in class dev.tripswitch.TripSwitch.Builder
- batchGetBreakerStates(String, BatchGetBreakerStatesInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- BatchGetBreakerStatesInput - Record Class in dev.tripswitch.admin
-
Input for batch-retrieving breaker states.
- BatchGetBreakerStatesInput(List<String>, String) - Constructor for record class dev.tripswitch.admin.BatchGetBreakerStatesInput
-
Creates an instance of a
BatchGetBreakerStatesInputrecord class. - Breaker - Record Class in dev.tripswitch.admin
-
A circuit breaker configuration.
- Breaker(String, List<String>, String, String, BreakerKind, Map<String, Object>, BreakerOp, double, int, int, int, int, int, int, boolean, int, HalfOpenPolicy, int, int, Map<String, Object>, Map<String, String>) - Constructor for record class dev.tripswitch.admin.Breaker
-
Normalizes null fields that Jackson may leave unset for absent JSON keys.
- breakerCount() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
breakerCountrecord component. - breakerId() - Method in record class dev.tripswitch.admin.BreakerState
-
Returns the value of the
breakerIdrecord component. - breakerId() - Method in record class dev.tripswitch.admin.Event
-
Returns the value of the
breakerIdrecord component. - breakerId() - Method in record class dev.tripswitch.admin.LinkBreakerInput
-
Returns the value of the
breakerIdrecord component. - breakerId() - Method in record class dev.tripswitch.admin.ListEventsParams
-
Returns the value of the
breakerIdrecord component. - breakerId(String) - Method in class dev.tripswitch.admin.ListEventsParams.Builder
- breakerIds() - Method in record class dev.tripswitch.admin.BatchGetBreakerStatesInput
-
Returns the value of the
breakerIdsrecord component. - BreakerKind - Enum Class in dev.tripswitch.admin
-
Aggregation type for a breaker.
- BreakerMeta - Record Class in dev.tripswitch
-
Breaker identity and metadata from the metadata cache.
- BreakerMeta(String, String, Map<String, String>) - Constructor for record class dev.tripswitch.BreakerMeta
-
Creates an instance of a
BreakerMetarecord class. - BreakerOp - Enum Class in dev.tripswitch.admin
-
Comparison operator for a breaker threshold.
- BreakerOpenException - Exception in dev.tripswitch
-
Thrown when a circuit breaker is open or a half-open request is rejected.
- BreakerOpenException() - Constructor for exception dev.tripswitch.BreakerOpenException
- BreakerOpenException(String) - Constructor for exception dev.tripswitch.BreakerOpenException
- breakerPager(String, ListParams, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- breakers() - Method in record class dev.tripswitch.admin.ListBreakersResponse
-
Returns the value of the
breakersrecord component. - breakers() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
breakersrecord component. - breakers() - Method in record class dev.tripswitch.admin.SyncBreakersInput
-
Returns the value of the
breakersrecord component. - BreakerState - Record Class in dev.tripswitch.admin
-
Current state of a circuit breaker.
- BreakerState(String, String, double, Instant) - Constructor for record class dev.tripswitch.admin.BreakerState
-
Creates an instance of a
BreakerStaterecord class. - BreakerStatus - Record Class in dev.tripswitch
-
Cached state of a circuit breaker.
- BreakerStatus(String, String, double) - Constructor for record class dev.tripswitch.BreakerStatus
-
Creates an instance of a
BreakerStatusrecord class. - bufferSize() - Method in record class dev.tripswitch.SDKStats
-
Returns the value of the
bufferSizerecord component. - build() - Method in class dev.tripswitch.admin.AdminClient.Builder
- build() - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- build() - Method in class dev.tripswitch.admin.CreateRouterInput.Builder
- build() - Method in class dev.tripswitch.admin.DeleteProjectOptions.Builder
- build() - Method in class dev.tripswitch.admin.ListEventsParams.Builder
- build() - Method in class dev.tripswitch.admin.RequestOptions.Builder
- build() - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- build() - Method in class dev.tripswitch.admin.UpdateNotificationChannelInput.Builder
- build() - Method in class dev.tripswitch.admin.UpdateProjectInput.Builder
- build() - Method in class dev.tripswitch.admin.UpdateRouterInput.Builder
- build() - Method in class dev.tripswitch.admin.UpdateWorkspaceInput.Builder
- build() - Method in class dev.tripswitch.ReportInput.Builder
- build() - Method in class dev.tripswitch.TripSwitch.Builder
-
Builds and starts the client with default 10-second timeout.
- build(Duration) - Method in class dev.tripswitch.TripSwitch.Builder
-
Builds and starts the client.
- builder() - Static method in class dev.tripswitch.admin.AdminClient
- builder() - Static method in record class dev.tripswitch.admin.ListEventsParams
- builder() - Static method in class dev.tripswitch.admin.RequestOptions
- builder() - Static method in record class dev.tripswitch.admin.UpdateBreakerInput
- builder() - Static method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
- builder() - Static method in record class dev.tripswitch.admin.UpdateProjectInput
- builder() - Static method in record class dev.tripswitch.admin.UpdateRouterInput
- builder() - Static method in record class dev.tripswitch.admin.UpdateWorkspaceInput
- builder(String) - Static method in class dev.tripswitch.admin.DeleteProjectOptions
- builder(String) - Static method in class dev.tripswitch.TripSwitch
- builder(String, RouterMode) - Static method in record class dev.tripswitch.admin.CreateRouterInput
- builder(String, String) - Static method in class dev.tripswitch.ReportInput
- builder(String, String, BreakerKind, BreakerOp, double) - Static method in record class dev.tripswitch.admin.CreateBreakerInput
- Builder() - Constructor for class dev.tripswitch.admin.AdminClient.Builder
- Builder() - Constructor for class dev.tripswitch.admin.ListEventsParams.Builder
- Builder() - Constructor for class dev.tripswitch.admin.RequestOptions.Builder
- Builder() - Constructor for class dev.tripswitch.admin.UpdateBreakerInput.Builder
- Builder() - Constructor for class dev.tripswitch.admin.UpdateNotificationChannelInput.Builder
- Builder() - Constructor for class dev.tripswitch.admin.UpdateProjectInput.Builder
- Builder() - Constructor for class dev.tripswitch.admin.UpdateRouterInput.Builder
- Builder() - Constructor for class dev.tripswitch.admin.UpdateWorkspaceInput.Builder
C
- cachedBreakers() - Method in record class dev.tripswitch.SDKStats
-
Returns the value of the
cachedBreakersrecord component. - CANARY - Enum constant in enum class dev.tripswitch.admin.RouterMode
- channel() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Returns the value of the
channelrecord component. - channel() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
channelrecord component. - channels() - Method in record class dev.tripswitch.admin.ListNotificationChannelsResponse
-
Returns the value of the
channelsrecord component. - close() - Method in class dev.tripswitch.admin.AdminClient
- close() - Method in class dev.tripswitch.TripSwitch
- close(Duration) - Method in class dev.tripswitch.TripSwitch
-
Gracefully shuts down, flushing buffered samples within the timeout.
- closedCount() - Method in record class dev.tripswitch.Status
-
Returns the value of the
closedCountrecord component. - config() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Returns the value of the
configrecord component. - config() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
configrecord component. - config() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
-
Returns the value of the
configrecord component. - config(Map<String, Object>) - Method in class dev.tripswitch.admin.UpdateNotificationChannelInput.Builder
- ConflictException - Exception in dev.tripswitch.admin
-
Thrown when the request conflicts with existing state (409).
- ConflictException(String, String, String, byte[]) - Constructor for exception dev.tripswitch.admin.ConflictException
- ConflictingOptionsException - Exception in dev.tripswitch
-
Thrown when mutually exclusive execute options are used together.
- ConflictingOptionsException(String) - Constructor for exception dev.tripswitch.ConflictingOptionsException
- CONSECUTIVE_FAILURES - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- CONSERVATIVE - Enum constant in enum class dev.tripswitch.admin.HalfOpenPolicy
- CONTRACT_VERSION - Static variable in class dev.tripswitch.TripSwitch
-
SDK Contract version.
- cooldownMs() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
cooldownMsrecord component. - cooldownMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
cooldownMsrecord component. - cooldownMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
cooldownMsrecord component. - cooldownMs(int) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- cooldownMs(int) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- count() - Method in record class dev.tripswitch.admin.ListBreakersResponse
-
Returns the value of the
countrecord component. - count() - Method in record class dev.tripswitch.admin.ListProjectKeysResponse
-
Returns the value of the
countrecord component. - COUNT - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- createBreaker(String, CreateBreakerInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- CreateBreakerInput - Record Class in dev.tripswitch.admin
-
Input for creating a breaker.
- CreateBreakerInput(String, String, BreakerKind, BreakerOp, double) - Constructor for record class dev.tripswitch.admin.CreateBreakerInput
-
Creates an input with only required fields.
- CreateBreakerInput(String, String, BreakerKind, Map<String, Object>, BreakerOp, double, Integer, Integer, Integer, Integer, Integer, Boolean, Integer, HalfOpenPolicy, Integer, Map<String, Object>, Map<String, String>) - Constructor for record class dev.tripswitch.admin.CreateBreakerInput
-
Creates an instance of a
CreateBreakerInputrecord class. - CreateBreakerInput.Builder - Class in dev.tripswitch.admin
- createdAt() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
createdAtrecord component. - createdBy() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
createdByrecord component. - createNotificationChannel(String, CreateNotificationChannelInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- CreateNotificationChannelInput - Record Class in dev.tripswitch.admin
-
Input for creating a notification channel.
- CreateNotificationChannelInput(String, NotificationChannelType, Map<String, Object>, List<NotificationEventType>, Boolean) - Constructor for record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Creates an instance of a
CreateNotificationChannelInputrecord class. - createProject(CreateProjectInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- CreateProjectInput - Record Class in dev.tripswitch.admin
-
Input for creating a project.
- CreateProjectInput(String) - Constructor for record class dev.tripswitch.admin.CreateProjectInput
- CreateProjectInput(String, String) - Constructor for record class dev.tripswitch.admin.CreateProjectInput
-
Creates an instance of a
CreateProjectInputrecord class. - createProjectKey(String, CreateProjectKeyInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- CreateProjectKeyInput - Record Class in dev.tripswitch.admin
-
Input for creating a project key.
- CreateProjectKeyInput(String) - Constructor for record class dev.tripswitch.admin.CreateProjectKeyInput
-
Creates an instance of a
CreateProjectKeyInputrecord class. - CreateProjectKeyResponse - Record Class in dev.tripswitch.admin
-
Response from creating a project key.
- CreateProjectKeyResponse(String, String, String, String, String) - Constructor for record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Creates an instance of a
CreateProjectKeyResponserecord class. - createRouter(String, CreateRouterInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- CreateRouterInput - Record Class in dev.tripswitch.admin
-
Input for creating a router.
- CreateRouterInput(String, RouterMode) - Constructor for record class dev.tripswitch.admin.CreateRouterInput
- CreateRouterInput(String, String, RouterMode, Boolean, Map<String, String>) - Constructor for record class dev.tripswitch.admin.CreateRouterInput
-
Creates an instance of a
CreateRouterInputrecord class. - CreateRouterInput.Builder - Class in dev.tripswitch.admin
- createWorkspace(CreateWorkspaceInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- CreateWorkspaceInput - Record Class in dev.tripswitch.admin
-
Input for creating a workspace.
- CreateWorkspaceInput(String, String) - Constructor for record class dev.tripswitch.admin.CreateWorkspaceInput
-
Creates an instance of a
CreateWorkspaceInputrecord class. - cursor() - Method in record class dev.tripswitch.admin.ListEventsParams
-
Returns the value of the
cursorrecord component. - cursor() - Method in record class dev.tripswitch.admin.ListParams
-
Returns the value of the
cursorrecord component. - cursor(String) - Method in class dev.tripswitch.admin.ListEventsParams.Builder
D
- deleteBreaker(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- deleteNotificationChannel(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- deleteProject(String, DeleteProjectOptions) - Method in class dev.tripswitch.admin.AdminClient
- deleteProjectKey(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- DeleteProjectOptions - Class in dev.tripswitch.admin
-
Options for deleting a project.
- DeleteProjectOptions.Builder - Class in dev.tripswitch.admin
- deleteRouter(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- deleteWorkspace(String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- DELTA - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- description() - Method in record class dev.tripswitch.admin.CreateRouterInput
-
Returns the value of the
descriptionrecord component. - description() - Method in record class dev.tripswitch.admin.UpdateRouterInput
-
Returns the value of the
descriptionrecord component. - description(String) - Method in class dev.tripswitch.admin.CreateRouterInput.Builder
- description(String) - Method in class dev.tripswitch.admin.UpdateRouterInput.Builder
- dev.tripswitch - package dev.tripswitch
- dev.tripswitch.admin - package dev.tripswitch.admin
- droppedSamples() - Method in record class dev.tripswitch.SDKStats
-
Returns the value of the
droppedSamplesrecord component.
E
- EMAIL - Enum constant in enum class dev.tripswitch.admin.NotificationChannelType
- enabled() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Returns the value of the
enabledrecord component. - enabled() - Method in record class dev.tripswitch.admin.CreateRouterInput
-
Returns the value of the
enabledrecord component. - enabled() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
enabledrecord component. - enabled() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
enabledrecord component. - enabled() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
-
Returns the value of the
enabledrecord component. - enabled() - Method in record class dev.tripswitch.admin.UpdateRouterInput
-
Returns the value of the
enabledrecord component. - enabled(boolean) - Method in class dev.tripswitch.admin.CreateRouterInput.Builder
- enabled(boolean) - Method in class dev.tripswitch.admin.UpdateNotificationChannelInput.Builder
- enabled(boolean) - Method in class dev.tripswitch.admin.UpdateRouterInput.Builder
- enableSignedIngest() - Method in record class dev.tripswitch.admin.Project
-
Returns the value of the
enableSignedIngestrecord component. - enableSignedIngest() - Method in record class dev.tripswitch.admin.UpdateProjectInput
-
Returns the value of the
enableSignedIngestrecord component. - enableSignedIngest(boolean) - Method in class dev.tripswitch.admin.UpdateProjectInput.Builder
- endTime() - Method in record class dev.tripswitch.admin.ListEventsParams
-
Returns the value of the
endTimerecord component. - endTime(Instant) - Method in class dev.tripswitch.admin.ListEventsParams.Builder
- equals(Object) - Method in record class dev.tripswitch.admin.BatchGetBreakerStatesInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.Breaker
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.BreakerState
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.CreateProjectInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.CreateProjectKeyInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.CreateRouterInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.CreateWorkspaceInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.Event
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.IngestSecretRotation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.LinkBreakerInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListBreakersResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListEventsParams
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListEventsResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListNotificationChannelsResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListParams
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListProjectKeysResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListProjectsResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListRoutersResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ListWorkspacesResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.NotificationChannel
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.Page
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.Project
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.ProjectKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.Router
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.SyncBreakersInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.UpdateProjectInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.UpdateRouterInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.UpdateWorkspaceInput
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.admin.Workspace
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.BreakerMeta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.BreakerStatus
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.MetadataResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.RouterMeta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.SDKStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class dev.tripswitch.Status
-
Indicates whether some other object is "equal to" this one.
- ERROR_RATE - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- evalIntervalMs() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
evalIntervalMsrecord component. - evalIntervalMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
evalIntervalMsrecord component. - evalIntervalMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
evalIntervalMsrecord component. - evalIntervalMs(int) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- evalIntervalMs(int) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- Event - Record Class in dev.tripswitch.admin
-
A breaker state transition event.
- Event(String, String, String, String, String, String, Instant) - Constructor for record class dev.tripswitch.admin.Event
-
Creates an instance of a
Eventrecord class. - eventPager(String, ListEventsParams, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- events() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Returns the value of the
eventsrecord component. - events() - Method in record class dev.tripswitch.admin.ListEventsResponse
-
Returns the value of the
eventsrecord component. - events() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
eventsrecord component. - events() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
-
Returns the value of the
eventsrecord component. - events(List<NotificationEventType>) - Method in class dev.tripswitch.admin.UpdateNotificationChannelInput.Builder
- execute(Callable<T>, ExecuteOption...) - Method in class dev.tripswitch.TripSwitch
-
Wraps a task with circuit breaker logic.
- ExecuteOption - Interface in dev.tripswitch
-
Functional interface for configuring a single
TripSwitch.execute(java.util.concurrent.Callable<T>, dev.tripswitch.ExecuteOption...)call.
F
- failOpen(boolean) - Method in class dev.tripswitch.TripSwitch.Builder
- flushFailures() - Method in record class dev.tripswitch.SDKStats
-
Returns the value of the
flushFailuresrecord component. - ForbiddenException - Exception in dev.tripswitch.admin
-
Thrown when the request is forbidden (403).
- ForbiddenException(String, String, String, byte[]) - Constructor for exception dev.tripswitch.admin.ForbiddenException
- forStatus(int, String, String, String, byte[], String) - Static method in exception dev.tripswitch.admin.ApiException
-
Maps an HTTP status code to the appropriate exception subclass.
- fromState() - Method in record class dev.tripswitch.admin.Event
-
Returns the value of the
fromStaterecord component.
G
- getAllStates() - Method in class dev.tripswitch.TripSwitch
-
Returns a copy of all cached breaker states.
- getBody() - Method in exception dev.tripswitch.admin.ApiException
- getBreaker(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- getBreakerName() - Method in exception dev.tripswitch.BreakerOpenException
-
Returns the name of the breaker that is open, or null if unknown.
- getBreakersMetadata() - Method in class dev.tripswitch.TripSwitch
-
Returns a deep copy of cached breaker metadata, or null if not yet loaded.
- getBreakerState(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- getCode() - Method in exception dev.tripswitch.admin.ApiException
- getConfirmName() - Method in class dev.tripswitch.admin.DeleteProjectOptions
- getError() - Method in interface dev.tripswitch.admin.Pager
-
Returns any error that occurred during iteration.
- getHeaders() - Method in class dev.tripswitch.admin.RequestOptions
- getIdempotencyKey() - Method in class dev.tripswitch.admin.RequestOptions
- getMetric() - Method in class dev.tripswitch.ReportInput
- getNotificationChannel(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- getProject(String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- getRequestId() - Method in exception dev.tripswitch.admin.ApiException
- getRequestId() - Method in class dev.tripswitch.admin.RequestOptions
- getRequestOptions() - Method in class dev.tripswitch.admin.DeleteProjectOptions
- getRetryAfter() - Method in exception dev.tripswitch.admin.ApiException
- getRouter(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- getRouterId() - Method in class dev.tripswitch.ReportInput
- getRoutersMetadata() - Method in class dev.tripswitch.TripSwitch
-
Returns a deep copy of cached router metadata, or null if not yet loaded.
- getState(String) - Method in class dev.tripswitch.TripSwitch
-
Returns the cached state for a single breaker, or null.
- getStatus() - Method in exception dev.tripswitch.admin.ApiException
- getStatus() - Method in class dev.tripswitch.TripSwitch
-
Fetches project health status from the API.
- getTags() - Method in class dev.tripswitch.ReportInput
- getTimeout() - Method in class dev.tripswitch.admin.RequestOptions
- getTraceId() - Method in class dev.tripswitch.ReportInput
- getValue() - Method in enum class dev.tripswitch.admin.BreakerKind
- getValue() - Method in enum class dev.tripswitch.admin.BreakerOp
- getValue() - Method in enum class dev.tripswitch.admin.HalfOpenPolicy
- getValue() - Method in enum class dev.tripswitch.admin.NotificationChannelType
- getValue() - Method in enum class dev.tripswitch.admin.NotificationEventType
- getValue() - Method in enum class dev.tripswitch.admin.RouterMode
- getValue() - Method in class dev.tripswitch.ReportInput
- getWorkspace(String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- globalTags(Map<String, String>) - Method in class dev.tripswitch.TripSwitch.Builder
- GT - Enum constant in enum class dev.tripswitch.admin.BreakerOp
- GTE - Enum constant in enum class dev.tripswitch.admin.BreakerOp
H
- halfOpenBackoffCapMs() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
halfOpenBackoffCapMsrecord component. - halfOpenBackoffCapMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
halfOpenBackoffCapMsrecord component. - halfOpenBackoffCapMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
halfOpenBackoffCapMsrecord component. - halfOpenBackoffCapMs(int) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- halfOpenBackoffCapMs(int) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- halfOpenBackoffEnabled() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
halfOpenBackoffEnabledrecord component. - halfOpenBackoffEnabled() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
halfOpenBackoffEnabledrecord component. - halfOpenBackoffEnabled() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
halfOpenBackoffEnabledrecord component. - halfOpenBackoffEnabled(boolean) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- halfOpenBackoffEnabled(boolean) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- halfOpenConfirmationMs() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
halfOpenConfirmationMsrecord component. - halfOpenIndeterminatePolicy() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
halfOpenIndeterminatePolicyrecord component. - halfOpenIndeterminatePolicy() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
halfOpenIndeterminatePolicyrecord component. - halfOpenIndeterminatePolicy() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
halfOpenIndeterminatePolicyrecord component. - halfOpenIndeterminatePolicy(HalfOpenPolicy) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- halfOpenIndeterminatePolicy(HalfOpenPolicy) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- HalfOpenPolicy - Enum Class in dev.tripswitch.admin
-
Policy for half-open state with insufficient data.
- hash() - Method in record class dev.tripswitch.admin.ListBreakersResponse
-
Returns the value of the
hashrecord component. - hashCode() - Method in record class dev.tripswitch.admin.BatchGetBreakerStatesInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.Breaker
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.BreakerState
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.CreateProjectInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.CreateProjectKeyInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.CreateRouterInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.CreateWorkspaceInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.Event
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.IngestSecretRotation
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.LinkBreakerInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListBreakersResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListEventsParams
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListEventsResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListNotificationChannelsResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListParams
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListProjectKeysResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListProjectsResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListRoutersResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ListWorkspacesResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.Page
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.Project
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.ProjectKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.Router
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.SyncBreakersInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.UpdateProjectInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.UpdateRouterInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.UpdateWorkspaceInput
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.admin.Workspace
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.BreakerMeta
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.BreakerStatus
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.MetadataResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.RouterMeta
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.SDKStats
-
Returns a hash code value for this object.
- hashCode() - Method in record class dev.tripswitch.Status
-
Returns a hash code value for this object.
- header(String, String) - Method in class dev.tripswitch.admin.RequestOptions.Builder
- httpClient(OkHttpClient) - Method in class dev.tripswitch.admin.AdminClient.Builder
- httpClient(OkHttpClient) - Method in class dev.tripswitch.TripSwitch.Builder
I
- id() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.admin.Event
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.admin.Project
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.admin.ProjectKey
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.admin.Workspace
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.BreakerMeta
-
Returns the value of the
idrecord component. - id() - Method in record class dev.tripswitch.RouterMeta
-
Returns the value of the
idrecord component. - idempotencyKey(String) - Method in class dev.tripswitch.admin.RequestOptions.Builder
- ingestSecret() - Method in record class dev.tripswitch.admin.IngestSecretRotation
-
Returns the value of the
ingestSecretrecord component. - ingestSecret(String) - Method in class dev.tripswitch.TripSwitch.Builder
- IngestSecretRotation - Record Class in dev.tripswitch.admin
-
Result of rotating an ingest secret.
- IngestSecretRotation(String) - Constructor for record class dev.tripswitch.admin.IngestSecretRotation
-
Creates an instance of a
IngestSecretRotationrecord class. - insertedAt() - Method in record class dev.tripswitch.admin.ProjectKey
-
Returns the value of the
insertedAtrecord component. - insertedAt() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
insertedAtrecord component. - insertedAt() - Method in record class dev.tripswitch.admin.Workspace
-
Returns the value of the
insertedAtrecord component. - isOk() - Method in class dev.tripswitch.ReportInput
- items() - Method in record class dev.tripswitch.admin.Page
-
Returns the value of the
itemsrecord component. - items() - Method in record class dev.tripswitch.MetadataResponse
-
Returns the value of the
itemsrecord component.
K
- key() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Returns the value of the
keyrecord component. - keyPrefix() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Returns the value of the
keyPrefixrecord component. - keyPrefix() - Method in record class dev.tripswitch.admin.ProjectKey
-
Returns the value of the
keyPrefixrecord component. - keys() - Method in record class dev.tripswitch.admin.ListProjectKeysResponse
-
Returns the value of the
keysrecord component. - kind() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
kindrecord component. - kind() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
kindrecord component. - kind() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
kindrecord component. - kind(BreakerKind) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- kindParams() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
kindParamsrecord component. - kindParams() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
kindParamsrecord component. - kindParams() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
kindParamsrecord component. - kindParams(Map<String, Object>) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- kindParams(Map<String, Object>) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
L
- lastEvalMs() - Method in record class dev.tripswitch.Status
-
Returns the value of the
lastEvalMsrecord component. - lastSseEvent() - Method in record class dev.tripswitch.SDKStats
-
Returns the value of the
lastSseEventrecord component. - lastSuccessfulFlush() - Method in record class dev.tripswitch.SDKStats
-
Returns the value of the
lastSuccessfulFlushrecord component. - lastUsedAt() - Method in record class dev.tripswitch.admin.ProjectKey
-
Returns the value of the
lastUsedAtrecord component. - LATENCY - Static variable in class dev.tripswitch.TripSwitch
-
Sentinel value for automatic latency measurement in metrics.
- limit() - Method in record class dev.tripswitch.admin.ListEventsParams
-
Returns the value of the
limitrecord component. - limit() - Method in record class dev.tripswitch.admin.ListParams
-
Returns the value of the
limitrecord component. - limit(int) - Method in class dev.tripswitch.admin.ListEventsParams.Builder
- linkBreaker(String, String, LinkBreakerInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- LinkBreakerInput - Record Class in dev.tripswitch.admin
-
Input for linking a breaker to a router.
- LinkBreakerInput(String) - Constructor for record class dev.tripswitch.admin.LinkBreakerInput
-
Creates an instance of a
LinkBreakerInputrecord class. - listBreakers(String, ListParams, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- listBreakersMetadata(String) - Method in class dev.tripswitch.TripSwitch
-
Lists breaker metadata with ETag support.
- ListBreakersResponse - Record Class in dev.tripswitch.admin
-
Response from listing breakers.
- ListBreakersResponse(List<Breaker>, int, String, String, String) - Constructor for record class dev.tripswitch.admin.ListBreakersResponse
-
Creates an instance of a
ListBreakersResponserecord class. - listEvents(String, ListEventsParams, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- ListEventsParams - Record Class in dev.tripswitch.admin
-
Parameters for listing events.
- ListEventsParams() - Constructor for record class dev.tripswitch.admin.ListEventsParams
- ListEventsParams(int) - Constructor for record class dev.tripswitch.admin.ListEventsParams
- ListEventsParams(String, Instant, Instant, String, int) - Constructor for record class dev.tripswitch.admin.ListEventsParams
-
Creates an instance of a
ListEventsParamsrecord class. - ListEventsParams.Builder - Class in dev.tripswitch.admin
- ListEventsResponse - Record Class in dev.tripswitch.admin
-
Response from listing events.
- ListEventsResponse(List<Event>, int, String) - Constructor for record class dev.tripswitch.admin.ListEventsResponse
-
Creates an instance of a
ListEventsResponserecord class. - listNotificationChannels(String, ListParams, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- ListNotificationChannelsResponse - Record Class in dev.tripswitch.admin
-
Response from listing notification channels.
- ListNotificationChannelsResponse(List<NotificationChannel>, String) - Constructor for record class dev.tripswitch.admin.ListNotificationChannelsResponse
-
Creates an instance of a
ListNotificationChannelsResponserecord class. - ListParams - Record Class in dev.tripswitch.admin
-
Common pagination parameters.
- ListParams() - Constructor for record class dev.tripswitch.admin.ListParams
- ListParams(int) - Constructor for record class dev.tripswitch.admin.ListParams
- ListParams(String, int) - Constructor for record class dev.tripswitch.admin.ListParams
-
Creates an instance of a
ListParamsrecord class. - listProjectKeys(String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- ListProjectKeysResponse - Record Class in dev.tripswitch.admin
-
Response from listing project keys.
- ListProjectKeysResponse(List<ProjectKey>, int) - Constructor for record class dev.tripswitch.admin.ListProjectKeysResponse
-
Creates an instance of a
ListProjectKeysResponserecord class. - listProjects(RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- ListProjectsResponse - Record Class in dev.tripswitch.admin
-
Response from listing projects.
- ListProjectsResponse(List<Project>) - Constructor for record class dev.tripswitch.admin.ListProjectsResponse
-
Creates an instance of a
ListProjectsResponserecord class. - listRouters(String, ListParams, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- listRoutersMetadata(String) - Method in class dev.tripswitch.TripSwitch
-
Lists router metadata with ETag support.
- ListRoutersResponse - Record Class in dev.tripswitch.admin
-
Response from listing routers.
- ListRoutersResponse(List<Router>, String) - Constructor for record class dev.tripswitch.admin.ListRoutersResponse
-
Creates an instance of a
ListRoutersResponserecord class. - listWorkspaces(RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- ListWorkspacesResponse - Record Class in dev.tripswitch.admin
-
Response from listing workspaces.
- ListWorkspacesResponse(List<Workspace>) - Constructor for record class dev.tripswitch.admin.ListWorkspacesResponse
-
Creates an instance of a
ListWorkspacesResponserecord class. - LT - Enum constant in enum class dev.tripswitch.admin.BreakerOp
- LTE - Enum constant in enum class dev.tripswitch.admin.BreakerOp
M
- MAX - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- message() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Returns the value of the
messagerecord component. - metadata() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class dev.tripswitch.admin.CreateRouterInput
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class dev.tripswitch.admin.UpdateRouterInput
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class dev.tripswitch.BreakerMeta
-
Returns the value of the
metadatarecord component. - metadata() - Method in record class dev.tripswitch.RouterMeta
-
Returns the value of the
metadatarecord component. - metadata(Map<String, String>) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- metadata(Map<String, String>) - Method in class dev.tripswitch.admin.CreateRouterInput.Builder
- metadata(Map<String, String>) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- metadata(Map<String, String>) - Method in class dev.tripswitch.admin.UpdateRouterInput.Builder
- MetadataResponse<T> - Record Class in dev.tripswitch
-
Response from metadata list operations, including ETag for conditional requests.
- MetadataResponse(List<T>, String) - Constructor for record class dev.tripswitch.MetadataResponse
-
Creates an instance of a
MetadataResponserecord class. - metadataSyncInterval(Duration) - Method in class dev.tripswitch.TripSwitch.Builder
- MetadataUnavailableException - Exception in dev.tripswitch
-
Thrown when a selector is used but the metadata cache is empty.
- MetadataUnavailableException() - Constructor for exception dev.tripswitch.MetadataUnavailableException
- metric() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
metricrecord component. - metric() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
metricrecord component. - metric() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
metricrecord component. - metric(String) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- MIN - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- minCount() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
minCountrecord component. - minCount() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
minCountrecord component. - minCount() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
minCountrecord component. - minCount(int) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- minCount(int) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- minStateDurationMs() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
minStateDurationMsrecord component. - minStateDurationMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
minStateDurationMsrecord component. - minStateDurationMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
minStateDurationMsrecord component. - minStateDurationMs(int) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- minStateDurationMs(int) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- mode() - Method in record class dev.tripswitch.admin.CreateRouterInput
-
Returns the value of the
moderecord component. - mode() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
moderecord component. - mode() - Method in record class dev.tripswitch.admin.UpdateRouterInput
-
Returns the value of the
moderecord component. - mode(RouterMode) - Method in class dev.tripswitch.admin.UpdateRouterInput.Builder
N
- name() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.CreateProjectInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.CreateProjectKeyInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.CreateRouterInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.CreateWorkspaceInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.Project
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.ProjectKey
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.Router
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.UpdateProjectInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.UpdateRouterInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.UpdateWorkspaceInput
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.admin.Workspace
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.BreakerMeta
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.BreakerStatus
-
Returns the value of the
namerecord component. - name() - Method in record class dev.tripswitch.RouterMeta
-
Returns the value of the
namerecord component. - name(String) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- name(String) - Method in class dev.tripswitch.admin.UpdateNotificationChannelInput.Builder
- name(String) - Method in class dev.tripswitch.admin.UpdateProjectInput.Builder
- name(String) - Method in class dev.tripswitch.admin.UpdateRouterInput.Builder
- name(String) - Method in class dev.tripswitch.admin.UpdateWorkspaceInput.Builder
- newEtag() - Method in record class dev.tripswitch.MetadataResponse
-
Returns the value of the
newEtagrecord component. - nextCursor() - Method in record class dev.tripswitch.admin.ListBreakersResponse
-
Returns the value of the
nextCursorrecord component. - nextCursor() - Method in record class dev.tripswitch.admin.ListEventsResponse
-
Returns the value of the
nextCursorrecord component. - nextCursor() - Method in record class dev.tripswitch.admin.ListNotificationChannelsResponse
-
Returns the value of the
nextCursorrecord component. - nextCursor() - Method in record class dev.tripswitch.admin.ListRoutersResponse
-
Returns the value of the
nextCursorrecord component. - nextCursor() - Method in record class dev.tripswitch.admin.Page
-
Returns the value of the
nextCursorrecord component. - NotFoundException - Exception in dev.tripswitch.admin
-
Thrown when the requested resource is not found (404).
- NotFoundException(String, String, String, byte[]) - Constructor for exception dev.tripswitch.admin.NotFoundException
- NotificationChannel - Record Class in dev.tripswitch.admin
-
A notification channel configuration.
- NotificationChannel(String, String, String, NotificationChannelType, Map<String, Object>, List<NotificationEventType>, boolean, Instant, Instant) - Constructor for record class dev.tripswitch.admin.NotificationChannel
-
Creates an instance of a
NotificationChannelrecord class. - notificationChannelPager(String, ListParams, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- NotificationChannelType - Enum Class in dev.tripswitch.admin
-
Type of notification channel.
- NotificationEventType - Enum Class in dev.tripswitch.admin
-
Event types that trigger notifications.
O
- ok(boolean) - Method in class dev.tripswitch.ReportInput.Builder
- onStateChange(TripSwitch.StateChangeListener) - Method in class dev.tripswitch.TripSwitch.Builder
- op() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
oprecord component. - op() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
oprecord component. - op() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
oprecord component. - op(BreakerOp) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- openCount() - Method in record class dev.tripswitch.Status
-
Returns the value of the
openCountrecord component. - OPTIMISTIC - Enum constant in enum class dev.tripswitch.admin.HalfOpenPolicy
- orgId() - Method in record class dev.tripswitch.admin.Workspace
-
Returns the value of the
orgIdrecord component.
P
- P95 - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- Page<T> - Record Class in dev.tripswitch.admin
-
Generic pagination wrapper.
- Page(List<T>, String) - Constructor for record class dev.tripswitch.admin.Page
-
Creates an instance of a
Pagerecord class. - Pager<T> - Interface in dev.tripswitch.admin
-
Iterator-like interface for paginated results.
- PAGERDUTY - Enum constant in enum class dev.tripswitch.admin.NotificationChannelType
- PERCENTILE - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- PESSIMISTIC - Enum constant in enum class dev.tripswitch.admin.HalfOpenPolicy
- Project - Record Class in dev.tripswitch.admin
-
A Tripswitch project.
- Project(String, String, String, String, boolean) - Constructor for record class dev.tripswitch.admin.Project
-
Creates an instance of a
Projectrecord class. - projectId() - Method in record class dev.tripswitch.admin.Event
-
Returns the value of the
projectIdrecord component. - projectId() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
projectIdrecord component. - ProjectKey - Record Class in dev.tripswitch.admin
-
A project API key (eb_pk_...).
- ProjectKey(String, String, String, String, String) - Constructor for record class dev.tripswitch.admin.ProjectKey
-
Creates an instance of a
ProjectKeyrecord class. - projects() - Method in record class dev.tripswitch.admin.ListProjectsResponse
-
Returns the value of the
projectsrecord component.
R
- RateLimitedException - Exception in dev.tripswitch.admin
-
Thrown when the request is rate limited (429).
- RateLimitedException(String, String, String, byte[], Duration) - Constructor for exception dev.tripswitch.admin.RateLimitedException
- reason() - Method in record class dev.tripswitch.admin.Event
-
Returns the value of the
reasonrecord component. - RECOVER - Enum constant in enum class dev.tripswitch.admin.NotificationEventType
- recoveryAllowRateRampSteps() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
recoveryAllowRateRampStepsrecord component. - recoveryAllowRateRampSteps() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
recoveryAllowRateRampStepsrecord component. - recoveryAllowRateRampSteps() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
recoveryAllowRateRampStepsrecord component. - recoveryAllowRateRampSteps(int) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- recoveryAllowRateRampSteps(int) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- recoveryWindowMs() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
recoveryWindowMsrecord component. - report(ReportInput) - Method in class dev.tripswitch.TripSwitch
-
Fire-and-forget sample reporting.
- ReportInput - Class in dev.tripswitch
-
Input for fire-and-forget sample reporting via
TripSwitch.report(dev.tripswitch.ReportInput). - ReportInput.Builder - Class in dev.tripswitch
- requestId(String) - Method in class dev.tripswitch.admin.RequestOptions.Builder
- requestOptions(RequestOptions) - Method in class dev.tripswitch.admin.DeleteProjectOptions.Builder
- RequestOptions - Class in dev.tripswitch.admin
-
Per-request configuration options.
- RequestOptions.Builder - Class in dev.tripswitch.admin
- returned() - Method in record class dev.tripswitch.admin.ListEventsResponse
-
Returns the value of the
returnedrecord component. - rotateIngestSecret(String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- Router - Record Class in dev.tripswitch.admin
-
A router configuration.
- Router(String, String, RouterMode, boolean, int, List<Breaker>, Instant, String, Map<String, String>) - Constructor for record class dev.tripswitch.admin.Router
-
Creates an instance of a
Routerrecord class. - routerId() - Method in record class dev.tripswitch.admin.BatchGetBreakerStatesInput
-
Returns the value of the
routerIdrecord component. - routerIds() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
routerIdsrecord component. - RouterMeta - Record Class in dev.tripswitch
-
Router identity and metadata from the metadata cache.
- RouterMeta(String, String, Map<String, String>) - Constructor for record class dev.tripswitch.RouterMeta
-
Creates an instance of a
RouterMetarecord class. - RouterMode - Enum Class in dev.tripswitch.admin
-
Routing mode for a router.
- routerPager(String, ListParams, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- routers() - Method in record class dev.tripswitch.admin.ListRoutersResponse
-
Returns the value of the
routersrecord component.
S
- SDKStats - Record Class in dev.tripswitch
-
Health metrics snapshot for the SDK.
- SDKStats(long, int, boolean, long, Instant, Instant, long, int) - Constructor for record class dev.tripswitch.SDKStats
-
Creates an instance of a
SDKStatsrecord class. - ServerFaultException - Exception in dev.tripswitch.admin
-
Thrown when the server returns a 5xx error.
- ServerFaultException(int, String, String, String, byte[]) - Constructor for exception dev.tripswitch.admin.ServerFaultException
- SLACK - Enum constant in enum class dev.tripswitch.admin.NotificationChannelType
- slackWebhookUrl() - Method in record class dev.tripswitch.admin.Project
-
Returns the value of the
slackWebhookUrlrecord component. - slackWebhookUrl() - Method in record class dev.tripswitch.admin.UpdateProjectInput
-
Returns the value of the
slackWebhookUrlrecord component. - slackWebhookUrl(String) - Method in class dev.tripswitch.admin.UpdateProjectInput.Builder
- slug() - Method in record class dev.tripswitch.admin.CreateWorkspaceInput
-
Returns the value of the
slugrecord component. - slug() - Method in record class dev.tripswitch.admin.UpdateWorkspaceInput
-
Returns the value of the
slugrecord component. - slug() - Method in record class dev.tripswitch.admin.Workspace
-
Returns the value of the
slugrecord component. - slug(String) - Method in class dev.tripswitch.admin.UpdateWorkspaceInput.Builder
- sseConnected() - Method in record class dev.tripswitch.SDKStats
-
Returns the value of the
sseConnectedrecord component. - sseReconnects() - Method in record class dev.tripswitch.SDKStats
-
Returns the value of the
sseReconnectsrecord component. - startTime() - Method in record class dev.tripswitch.admin.ListEventsParams
-
Returns the value of the
startTimerecord component. - startTime(Instant) - Method in class dev.tripswitch.admin.ListEventsParams.Builder
- state() - Method in record class dev.tripswitch.admin.BreakerState
-
Returns the value of the
staterecord component. - state() - Method in record class dev.tripswitch.BreakerStatus
-
Returns the value of the
staterecord component. - STATIC - Enum constant in enum class dev.tripswitch.admin.RouterMode
- stats() - Method in class dev.tripswitch.TripSwitch
-
Returns SDK health metrics snapshot.
- Status - Record Class in dev.tripswitch
-
Project health status returned by the API.
- Status(int, int, long) - Constructor for record class dev.tripswitch.Status
-
Creates an instance of a
Statusrecord class. - STDDEV - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- SUM - Enum constant in enum class dev.tripswitch.admin.BreakerKind
- syncBreakers(String, SyncBreakersInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- SyncBreakersInput - Record Class in dev.tripswitch.admin
-
Input for bulk-syncing breakers.
- SyncBreakersInput(List<CreateBreakerInput>) - Constructor for record class dev.tripswitch.admin.SyncBreakersInput
-
Creates an instance of a
SyncBreakersInputrecord class.
T
- tags(Map<String, String>) - Method in class dev.tripswitch.ReportInput.Builder
- testNotificationChannel(String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- threshold() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
thresholdrecord component. - threshold() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
thresholdrecord component. - threshold() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
thresholdrecord component. - threshold(double) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- timeout(Duration) - Method in class dev.tripswitch.admin.RequestOptions.Builder
- timestamp() - Method in record class dev.tripswitch.admin.Event
-
Returns the value of the
timestamprecord component. - toState() - Method in record class dev.tripswitch.admin.Event
-
Returns the value of the
toStaterecord component. - toString() - Method in record class dev.tripswitch.admin.BatchGetBreakerStatesInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.Breaker
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.BreakerState
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.CreateProjectInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.CreateProjectKeyInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.CreateRouterInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.CreateWorkspaceInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.Event
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.IngestSecretRotation
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.LinkBreakerInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListBreakersResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListEventsParams
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListEventsResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListNotificationChannelsResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListParams
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListProjectKeysResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListProjectsResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListRoutersResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ListWorkspacesResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.Page
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.Project
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.ProjectKey
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.Router
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.SyncBreakersInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.UpdateProjectInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.UpdateRouterInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.UpdateWorkspaceInput
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.admin.Workspace
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.BreakerMeta
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.BreakerStatus
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.MetadataResponse
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.RouterMeta
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.SDKStats
-
Returns a string representation of this record class.
- toString() - Method in record class dev.tripswitch.Status
-
Returns a string representation of this record class.
- traceId(String) - Method in class dev.tripswitch.ReportInput.Builder
- traceIdExtractor(Supplier<String>) - Method in class dev.tripswitch.TripSwitch.Builder
- traceIdUrlTemplate() - Method in record class dev.tripswitch.admin.Project
-
Returns the value of the
traceIdUrlTemplaterecord component. - traceIdUrlTemplate() - Method in record class dev.tripswitch.admin.UpdateProjectInput
-
Returns the value of the
traceIdUrlTemplaterecord component. - traceIdUrlTemplate(String) - Method in class dev.tripswitch.admin.UpdateProjectInput.Builder
- TransportException - Exception in dev.tripswitch.admin
-
Thrown when a network or I/O failure occurs.
- TransportException(String) - Constructor for exception dev.tripswitch.admin.TransportException
- TransportException(String, Throwable) - Constructor for exception dev.tripswitch.admin.TransportException
- TRIP - Enum constant in enum class dev.tripswitch.admin.NotificationEventType
- TripSwitch - Class in dev.tripswitch
-
The main Tripswitch runtime client.
- TripSwitch.Builder - Class in dev.tripswitch
- TripSwitch.StateChangeListener - Interface in dev.tripswitch
-
Callback for breaker state changes.
- TripSwitchException - Exception in dev.tripswitch
-
Base exception for all Tripswitch SDK errors.
- TripSwitchException(String) - Constructor for exception dev.tripswitch.TripSwitchException
- TripSwitchException(String, Throwable) - Constructor for exception dev.tripswitch.TripSwitchException
U
- UnauthorizedException - Exception in dev.tripswitch.admin
-
Thrown when authentication fails (401).
- UnauthorizedException(String, String, String, byte[]) - Constructor for exception dev.tripswitch.admin.UnauthorizedException
- unlinkBreaker(String, String, String, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- updateBreaker(String, String, UpdateBreakerInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- UpdateBreakerInput - Record Class in dev.tripswitch.admin
-
Input for updating a breaker.
- UpdateBreakerInput(String, String, BreakerKind, Map<String, Object>, BreakerOp, Double, Integer, Integer, Integer, Integer, Integer, Boolean, Integer, HalfOpenPolicy, Integer, Map<String, Object>, Map<String, String>) - Constructor for record class dev.tripswitch.admin.UpdateBreakerInput
-
Creates an instance of a
UpdateBreakerInputrecord class. - UpdateBreakerInput.Builder - Class in dev.tripswitch.admin
- updateBreakerMetadata(String, String, Map<String, String>, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- updatedAt() - Method in record class dev.tripswitch.admin.BreakerState
-
Returns the value of the
updatedAtrecord component. - updatedAt() - Method in record class dev.tripswitch.admin.ListBreakersResponse
-
Returns the value of the
updatedAtrecord component. - updatedAt() - Method in record class dev.tripswitch.admin.NotificationChannel
-
Returns the value of the
updatedAtrecord component. - updateNotificationChannel(String, String, UpdateNotificationChannelInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- UpdateNotificationChannelInput - Record Class in dev.tripswitch.admin
-
Input for updating a notification channel.
- UpdateNotificationChannelInput(String, Map<String, Object>, List<NotificationEventType>, Boolean) - Constructor for record class dev.tripswitch.admin.UpdateNotificationChannelInput
-
Creates an instance of a
UpdateNotificationChannelInputrecord class. - UpdateNotificationChannelInput.Builder - Class in dev.tripswitch.admin
- updateProject(String, UpdateProjectInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- UpdateProjectInput - Record Class in dev.tripswitch.admin
-
Input for updating a project.
- UpdateProjectInput(String, String, String, Boolean) - Constructor for record class dev.tripswitch.admin.UpdateProjectInput
-
Creates an instance of a
UpdateProjectInputrecord class. - UpdateProjectInput.Builder - Class in dev.tripswitch.admin
- updateRouter(String, String, UpdateRouterInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- UpdateRouterInput - Record Class in dev.tripswitch.admin
-
Input for updating a router.
- UpdateRouterInput(String, String, RouterMode, Boolean, Map<String, String>) - Constructor for record class dev.tripswitch.admin.UpdateRouterInput
-
Creates an instance of a
UpdateRouterInputrecord class. - UpdateRouterInput.Builder - Class in dev.tripswitch.admin
- updateRouterMetadata(String, String, Map<String, String>, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- updateWorkspace(String, UpdateWorkspaceInput, RequestOptions...) - Method in class dev.tripswitch.admin.AdminClient
- UpdateWorkspaceInput - Record Class in dev.tripswitch.admin
-
Input for updating a workspace.
- UpdateWorkspaceInput(String, String) - Constructor for record class dev.tripswitch.admin.UpdateWorkspaceInput
-
Creates an instance of a
UpdateWorkspaceInputrecord class. - UpdateWorkspaceInput.Builder - Class in dev.tripswitch.admin
V
- ValidationException - Exception in dev.tripswitch.admin
-
Thrown when input validation fails (400 or 422).
- ValidationException(String, String, String, byte[]) - Constructor for exception dev.tripswitch.admin.ValidationException
- value(double) - Method in class dev.tripswitch.ReportInput.Builder
- valueOf(String) - Static method in enum class dev.tripswitch.admin.BreakerKind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.tripswitch.admin.BreakerOp
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.tripswitch.admin.HalfOpenPolicy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.tripswitch.admin.NotificationChannelType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.tripswitch.admin.NotificationEventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class dev.tripswitch.admin.RouterMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class dev.tripswitch.admin.BreakerKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.tripswitch.admin.BreakerOp
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.tripswitch.admin.HalfOpenPolicy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.tripswitch.admin.NotificationChannelType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.tripswitch.admin.NotificationEventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class dev.tripswitch.admin.RouterMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WEBHOOK - Enum constant in enum class dev.tripswitch.admin.NotificationChannelType
- WEIGHTED - Enum constant in enum class dev.tripswitch.admin.RouterMode
- windowMs() - Method in record class dev.tripswitch.admin.Breaker
-
Returns the value of the
windowMsrecord component. - windowMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
-
Returns the value of the
windowMsrecord component. - windowMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
-
Returns the value of the
windowMsrecord component. - windowMs(int) - Method in class dev.tripswitch.admin.CreateBreakerInput.Builder
- windowMs(int) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
- withBreakers(String...) - Static method in class dev.tripswitch.TripSwitch
-
Specifies breaker names to check before executing.
- withDeferredMetrics(BiFunction<T, Exception, Map<String, Double>>) - Static method in class dev.tripswitch.TripSwitch
-
Registers a function to extract metrics from the task result after execution.
- withErrorEvaluator(Predicate<Exception>) - Static method in class dev.tripswitch.TripSwitch
-
Custom predicate to determine if an exception is a failure.
- withIgnoreErrors(Class<? extends Exception>...) - Static method in class dev.tripswitch.TripSwitch
-
Specifies exception classes that should not count as failures.
- withMetrics(Map<String, Object>) - Static method in class dev.tripswitch.TripSwitch
-
Sets metrics to report.
- withRouter(String) - Static method in class dev.tripswitch.TripSwitch
-
Specifies the router ID for sample routing.
- withRouterIds(List<String>) - Method in record class dev.tripswitch.admin.Breaker
-
Returns a copy of this breaker with the given router IDs.
- withSelectedBreakers(Function<List<BreakerMeta>, List<String>>) - Static method in class dev.tripswitch.TripSwitch
-
Dynamically selects breakers based on cached metadata.
- withSelectedRouter(Function<List<RouterMeta>, String>) - Static method in class dev.tripswitch.TripSwitch
-
Dynamically selects a router based on cached metadata.
- withTag(String, String) - Static method in class dev.tripswitch.TripSwitch
-
Adds a single tag.
- withTags(Map<String, String>) - Static method in class dev.tripswitch.TripSwitch
-
Adds multiple tags.
- withTraceId(String) - Static method in class dev.tripswitch.TripSwitch
-
Sets a specific trace ID.
- Workspace - Record Class in dev.tripswitch.admin
-
A Tripswitch workspace.
- Workspace(String, String, String, String, Instant) - Constructor for record class dev.tripswitch.admin.Workspace
-
Creates an instance of a
Workspacerecord class. - workspaceId() - Method in record class dev.tripswitch.admin.CreateProjectInput
-
Returns the value of the
workspaceIdrecord component. - workspaces() - Method in record class dev.tripswitch.admin.ListWorkspacesResponse
-
Returns the value of the
workspacesrecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form