Index

A B C D E F G H I K L M N O P R S T U V W 
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 actions record component.
actions() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the actions record component.
actions() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the actions record 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 allowRate record component.
allowRate() - Method in record class dev.tripswitch.BreakerStatus
Returns the value of the allowRate record 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 BatchGetBreakerStatesInput record 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 breakerCount record component.
breakerId() - Method in record class dev.tripswitch.admin.BreakerState
Returns the value of the breakerId record component.
breakerId() - Method in record class dev.tripswitch.admin.Event
Returns the value of the breakerId record component.
breakerId() - Method in record class dev.tripswitch.admin.LinkBreakerInput
Returns the value of the breakerId record component.
breakerId() - Method in record class dev.tripswitch.admin.ListEventsParams
Returns the value of the breakerId record 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 breakerIds record 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 BreakerMeta record 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 breakers record component.
breakers() - Method in record class dev.tripswitch.admin.Router
Returns the value of the breakers record component.
breakers() - Method in record class dev.tripswitch.admin.SyncBreakersInput
Returns the value of the breakers record 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 BreakerState record 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 BreakerStatus record class.
bufferSize() - Method in record class dev.tripswitch.SDKStats
Returns the value of the bufferSize record 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 cachedBreakers record 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 channel record component.
channel() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the channel record component.
channels() - Method in record class dev.tripswitch.admin.ListNotificationChannelsResponse
Returns the value of the channels record 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 closedCount record component.
config() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
Returns the value of the config record component.
config() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the config record component.
config() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
Returns the value of the config record 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 cooldownMs record component.
cooldownMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the cooldownMs record component.
cooldownMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the cooldownMs record 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 count record component.
count() - Method in record class dev.tripswitch.admin.ListProjectKeysResponse
Returns the value of the count record 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 CreateBreakerInput record class.
CreateBreakerInput.Builder - Class in dev.tripswitch.admin
 
createdAt() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the createdAt record component.
createdBy() - Method in record class dev.tripswitch.admin.Router
Returns the value of the createdBy record 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 CreateNotificationChannelInput record 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 CreateProjectInput record 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 CreateProjectKeyInput record 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 CreateProjectKeyResponse record 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 CreateRouterInput record 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 CreateWorkspaceInput record class.
cursor() - Method in record class dev.tripswitch.admin.ListEventsParams
Returns the value of the cursor record component.
cursor() - Method in record class dev.tripswitch.admin.ListParams
Returns the value of the cursor record 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 description record component.
description() - Method in record class dev.tripswitch.admin.UpdateRouterInput
Returns the value of the description record 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 droppedSamples record 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 enabled record component.
enabled() - Method in record class dev.tripswitch.admin.CreateRouterInput
Returns the value of the enabled record component.
enabled() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the enabled record component.
enabled() - Method in record class dev.tripswitch.admin.Router
Returns the value of the enabled record component.
enabled() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
Returns the value of the enabled record component.
enabled() - Method in record class dev.tripswitch.admin.UpdateRouterInput
Returns the value of the enabled record 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 enableSignedIngest record component.
enableSignedIngest() - Method in record class dev.tripswitch.admin.UpdateProjectInput
Returns the value of the enableSignedIngest record 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 endTime record 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 evalIntervalMs record component.
evalIntervalMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the evalIntervalMs record component.
evalIntervalMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the evalIntervalMs record 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 Event record 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 events record component.
events() - Method in record class dev.tripswitch.admin.ListEventsResponse
Returns the value of the events record component.
events() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the events record component.
events() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
Returns the value of the events record 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

F

failOpen(boolean) - Method in class dev.tripswitch.TripSwitch.Builder
 
flushFailures() - Method in record class dev.tripswitch.SDKStats
Returns the value of the flushFailures record 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 fromState record 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 halfOpenBackoffCapMs record component.
halfOpenBackoffCapMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the halfOpenBackoffCapMs record component.
halfOpenBackoffCapMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the halfOpenBackoffCapMs record 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 halfOpenBackoffEnabled record component.
halfOpenBackoffEnabled() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the halfOpenBackoffEnabled record component.
halfOpenBackoffEnabled() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the halfOpenBackoffEnabled record 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 halfOpenConfirmationMs record component.
halfOpenIndeterminatePolicy() - Method in record class dev.tripswitch.admin.Breaker
Returns the value of the halfOpenIndeterminatePolicy record component.
halfOpenIndeterminatePolicy() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the halfOpenIndeterminatePolicy record component.
halfOpenIndeterminatePolicy() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the halfOpenIndeterminatePolicy record 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 hash record 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 id record component.
id() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
Returns the value of the id record component.
id() - Method in record class dev.tripswitch.admin.Event
Returns the value of the id record component.
id() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the id record component.
id() - Method in record class dev.tripswitch.admin.Project
Returns the value of the id record component.
id() - Method in record class dev.tripswitch.admin.ProjectKey
Returns the value of the id record component.
id() - Method in record class dev.tripswitch.admin.Router
Returns the value of the id record component.
id() - Method in record class dev.tripswitch.admin.Workspace
Returns the value of the id record component.
id() - Method in record class dev.tripswitch.BreakerMeta
Returns the value of the id record component.
id() - Method in record class dev.tripswitch.RouterMeta
Returns the value of the id record 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 ingestSecret record 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 IngestSecretRotation record class.
insertedAt() - Method in record class dev.tripswitch.admin.ProjectKey
Returns the value of the insertedAt record component.
insertedAt() - Method in record class dev.tripswitch.admin.Router
Returns the value of the insertedAt record component.
insertedAt() - Method in record class dev.tripswitch.admin.Workspace
Returns the value of the insertedAt record component.
isOk() - Method in class dev.tripswitch.ReportInput
 
items() - Method in record class dev.tripswitch.admin.Page
Returns the value of the items record component.
items() - Method in record class dev.tripswitch.MetadataResponse
Returns the value of the items record component.

K

key() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
Returns the value of the key record component.
keyPrefix() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
Returns the value of the keyPrefix record component.
keyPrefix() - Method in record class dev.tripswitch.admin.ProjectKey
Returns the value of the keyPrefix record component.
keys() - Method in record class dev.tripswitch.admin.ListProjectKeysResponse
Returns the value of the keys record component.
kind() - Method in record class dev.tripswitch.admin.Breaker
Returns the value of the kind record component.
kind() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the kind record component.
kind() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the kind record 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 kindParams record component.
kindParams() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the kindParams record component.
kindParams() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the kindParams record 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 lastEvalMs record component.
lastSseEvent() - Method in record class dev.tripswitch.SDKStats
Returns the value of the lastSseEvent record component.
lastSuccessfulFlush() - Method in record class dev.tripswitch.SDKStats
Returns the value of the lastSuccessfulFlush record component.
lastUsedAt() - Method in record class dev.tripswitch.admin.ProjectKey
Returns the value of the lastUsedAt record 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 limit record component.
limit() - Method in record class dev.tripswitch.admin.ListParams
Returns the value of the limit record 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 LinkBreakerInput record 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 ListBreakersResponse record 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 ListEventsParams record 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 ListEventsResponse record 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 ListNotificationChannelsResponse record 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 ListParams record 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 ListProjectKeysResponse record 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 ListProjectsResponse record 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 ListRoutersResponse record 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 ListWorkspacesResponse record 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 message record component.
metadata() - Method in record class dev.tripswitch.admin.Breaker
Returns the value of the metadata record component.
metadata() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the metadata record component.
metadata() - Method in record class dev.tripswitch.admin.CreateRouterInput
Returns the value of the metadata record component.
metadata() - Method in record class dev.tripswitch.admin.Router
Returns the value of the metadata record component.
metadata() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the metadata record component.
metadata() - Method in record class dev.tripswitch.admin.UpdateRouterInput
Returns the value of the metadata record component.
metadata() - Method in record class dev.tripswitch.BreakerMeta
Returns the value of the metadata record component.
metadata() - Method in record class dev.tripswitch.RouterMeta
Returns the value of the metadata record 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 MetadataResponse record 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 metric record component.
metric() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the metric record component.
metric() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the metric record 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 minCount record component.
minCount() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the minCount record component.
minCount() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the minCount record 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 minStateDurationMs record component.
minStateDurationMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the minStateDurationMs record component.
minStateDurationMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the minStateDurationMs record 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 mode record component.
mode() - Method in record class dev.tripswitch.admin.Router
Returns the value of the mode record component.
mode() - Method in record class dev.tripswitch.admin.UpdateRouterInput
Returns the value of the mode record 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 name record component.
name() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.CreateNotificationChannelInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.CreateProjectInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.CreateProjectKeyInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.CreateProjectKeyResponse
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.CreateRouterInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.CreateWorkspaceInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.Project
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.ProjectKey
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.Router
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.UpdateNotificationChannelInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.UpdateProjectInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.UpdateRouterInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.UpdateWorkspaceInput
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.admin.Workspace
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.BreakerMeta
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.BreakerStatus
Returns the value of the name record component.
name() - Method in record class dev.tripswitch.RouterMeta
Returns the value of the name record 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 newEtag record component.
nextCursor() - Method in record class dev.tripswitch.admin.ListBreakersResponse
Returns the value of the nextCursor record component.
nextCursor() - Method in record class dev.tripswitch.admin.ListEventsResponse
Returns the value of the nextCursor record component.
nextCursor() - Method in record class dev.tripswitch.admin.ListNotificationChannelsResponse
Returns the value of the nextCursor record component.
nextCursor() - Method in record class dev.tripswitch.admin.ListRoutersResponse
Returns the value of the nextCursor record component.
nextCursor() - Method in record class dev.tripswitch.admin.Page
Returns the value of the nextCursor record 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 NotificationChannel record 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 op record component.
op() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the op record component.
op() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the op record component.
op(BreakerOp) - Method in class dev.tripswitch.admin.UpdateBreakerInput.Builder
 
openCount() - Method in record class dev.tripswitch.Status
Returns the value of the openCount record 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 orgId record 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 Page record 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 Project record class.
projectId() - Method in record class dev.tripswitch.admin.Event
Returns the value of the projectId record component.
projectId() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the projectId record 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 ProjectKey record class.
projects() - Method in record class dev.tripswitch.admin.ListProjectsResponse
Returns the value of the projects record 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 reason record 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 recoveryAllowRateRampSteps record component.
recoveryAllowRateRampSteps() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the recoveryAllowRateRampSteps record component.
recoveryAllowRateRampSteps() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the recoveryAllowRateRampSteps record 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 recoveryWindowMs record 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 returned record 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 Router record class.
routerId() - Method in record class dev.tripswitch.admin.BatchGetBreakerStatesInput
Returns the value of the routerId record component.
routerIds() - Method in record class dev.tripswitch.admin.Breaker
Returns the value of the routerIds record 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 RouterMeta record 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 routers record 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 SDKStats record 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 slackWebhookUrl record component.
slackWebhookUrl() - Method in record class dev.tripswitch.admin.UpdateProjectInput
Returns the value of the slackWebhookUrl record 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 slug record component.
slug() - Method in record class dev.tripswitch.admin.UpdateWorkspaceInput
Returns the value of the slug record component.
slug() - Method in record class dev.tripswitch.admin.Workspace
Returns the value of the slug record component.
slug(String) - Method in class dev.tripswitch.admin.UpdateWorkspaceInput.Builder
 
sseConnected() - Method in record class dev.tripswitch.SDKStats
Returns the value of the sseConnected record component.
sseReconnects() - Method in record class dev.tripswitch.SDKStats
Returns the value of the sseReconnects record component.
startTime() - Method in record class dev.tripswitch.admin.ListEventsParams
Returns the value of the startTime record 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 state record component.
state() - Method in record class dev.tripswitch.BreakerStatus
Returns the value of the state record 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 Status record 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 SyncBreakersInput record 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 threshold record component.
threshold() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the threshold record component.
threshold() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the threshold record 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 timestamp record component.
toState() - Method in record class dev.tripswitch.admin.Event
Returns the value of the toState record 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 traceIdUrlTemplate record component.
traceIdUrlTemplate() - Method in record class dev.tripswitch.admin.UpdateProjectInput
Returns the value of the traceIdUrlTemplate record 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 UpdateBreakerInput record 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 updatedAt record component.
updatedAt() - Method in record class dev.tripswitch.admin.ListBreakersResponse
Returns the value of the updatedAt record component.
updatedAt() - Method in record class dev.tripswitch.admin.NotificationChannel
Returns the value of the updatedAt record 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 UpdateNotificationChannelInput record 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 UpdateProjectInput record 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 UpdateRouterInput record 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 UpdateWorkspaceInput record 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 windowMs record component.
windowMs() - Method in record class dev.tripswitch.admin.CreateBreakerInput
Returns the value of the windowMs record component.
windowMs() - Method in record class dev.tripswitch.admin.UpdateBreakerInput
Returns the value of the windowMs record 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 Workspace record class.
workspaceId() - Method in record class dev.tripswitch.admin.CreateProjectInput
Returns the value of the workspaceId record component.
workspaces() - Method in record class dev.tripswitch.admin.ListWorkspacesResponse
Returns the value of the workspaces record component.
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form