Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/temporalio/temporal
/ functions
Functions
43,335 in github.com/temporalio/temporal
⨍
Functions
43,335
◇
Types & classes
5,614
↓ 3 callers
Method
SelectFromQueueV2Metadata
(ctx context.Context, filter QueueV2MetadataFilter)
common/persistence/sql/sqlplugin/queue_v2_metadata.go:33
↓ 3 callers
Method
SelectFromQueueV2MetadataForUpdate
(ctx context.Context, filter QueueV2MetadataFilter)
common/persistence/sql/sqlplugin/queue_v2_metadata.go:34
↓ 3 callers
Method
SelectFromShards
(ctx context.Context, filter ShardsFilter)
common/persistence/sql/sqlplugin/history_shard.go:27
↓ 3 callers
Method
SelectFromTasksV2
SelectFromTasks retrieves one or more rows from the tasks_v2 table Required filter params - {RangeHash, TaskQueueID, InclusiveMinLevel, PageSize} Retu
common/persistence/sql/sqlplugin/matching_task_v2.go:42
↓ 3 callers
Method
SendParentClosePolicyRequest
(context.Context, Request)
service/worker/parentclosepolicy/client.go:22
↓ 3 callers
Method
Serialize
Serialize a state machine into bytes.
service/history/hsm/tree.go:52
↓ 3 callers
Method
Serialize
(taskToken *tokenspb.Task)
common/tasktoken/serializer.go:15
↓ 3 callers
Method
SetClusterMetadata
(metadata cluster.Metadata)
service/history/shard/context_testutil.go:225
↓ 3 callers
Method
SetEffectiveRPSAndSourceForTesting
(rps float64, source enumspb.RateLimitSource)
service/matching/ratelimit_manager_test.go:79
↓ 3 callers
Method
SetHeader
(md metadata.MD)
common/testing/rpctest/transport_stream.go:37
↓ 3 callers
Method
SetHealthy
(healthy bool)
common/rpc/interceptor/health.go:45
↓ 3 callers
Method
SetHistoryEnabledByDefault
SetHistoryEnabledByDefault sets the default history archival config to be enabled.
common/archiver/metadata_mock.go:15
↓ 3 callers
Function
SetMetadataType
(p *commonpb.Payload, t enumspb.IndexedValueType)
common/searchattribute/sadefs/util.go:22
↓ 3 callers
Method
SetMetricsHandler
SetMetricsHandler sets the metrics handler for the client. This is useful when the metricsHandler is not available at the time of initialization due t
common/dynamicconfig/file_based_client.go:101
↓ 3 callers
Method
SetSpeculativeWorkflowTaskTimeoutTask
SetSpeculativeWorkflowTaskTimeoutTask submits the task to the shard's in-memory scheduled queue, replacing any prior speculative timeout. VisibilityTi
service/history/interfaces/mutable_state.go:329
↓ 3 callers
Method
SetStateMachineState
(S)
chasm/statemachine.go:20
↓ 3 callers
Method
SetStickyTaskQueue
(name string, scheduleToStartTimeout *durationpb.Duration)
service/history/interfaces/mutable_state.go:224
↓ 3 callers
Method
SetT
Deprecated: SetT is managed internally by [Run]. Do not call directly.
common/testing/parallelsuite/testify.go:19
↓ 3 callers
Function
SetToEvent
(event *historypb.HistoryEvent, sas *commonpb.SearchAttributes)
common/searchattribute/event_gen.go:10
↓ 3 callers
Function
SetupNewWorkflowForRetryOrCron
Helpers for creating new retry/cron workflows:
service/history/workflow/retry.go:156
↓ 3 callers
Method
ShardInfoFromBlob
(data *commonpb.DataBlob)
common/persistence/serialization/serializer.go:77
↓ 3 callers
Function
ShouldSkipReactivation
ShouldSkipReactivation reports whether a reactivation signal to the given version would be redundant. Returns true when the version's status is CURREN
common/worker_versioning/worker_versioning.go:429
↓ 3 callers
Method
ShrinkScope
()
service/history/queues/slice.go:33
↓ 3 callers
Method
SignalWithStartWorkflow
SignalWithStartWorkflow mocks base method.
common/testing/mocksdk/client_mock.go:617
↓ 3 callers
Method
Since
(t time.Time)
common/clock/event_time_source.go:64
↓ 3 callers
Function
SliceTail
SliceTail returns the last n elements of s. n may be greater than len(s).
common/util/util.go:53
↓ 3 callers
Method
SpanExporters
()
common/telemetry/config.go:159
↓ 3 callers
Function
SplitHistoryGarbageCleanupInfo
SplitHistoryGarbageCleanupInfo returns workflow identity information
common/persistence/data_interfaces.go:1426
↓ 3 callers
Function
StampIfUsingVersioning
StampIfUsingVersioning returns the given WorkerVersionStamp if it is using versioning, otherwise returns nil.
common/worker_versioning/worker_versioning.go:168
↓ 3 callers
Method
Start
()
service/matching/physical_task_queue_manager.go:101
↓ 3 callers
Method
Start
()
service/history/replication/task_processor.go:53
↓ 3 callers
Method
Start
Start causes this service to join the membership ring. Services should not call Start until they are ready to receive requests from other cluster memb
common/membership/interfaces.go:40
↓ 3 callers
Method
StartActivityExecution
(ctx context.Context, in *StartActivityExecutionRequest, opts ...grpc.CallOption)
chasm/lib/activity/gen/activitypb/v1/service_grpc.pb.go:35
↓ 3 callers
Method
State
()
components/nexusoperations/statemachine.go:83
↓ 3 callers
Method
StickyExecutionAttributes
(timeout time.Duration)
common/testing/testvars/test_vars.go:335
↓ 3 callers
Method
Stop
Stop stops the scavenger
service/worker/scanner/taskqueue/scavenger.go:115
↓ 3 callers
Method
Stop
()
service/history/replication/stream_receiver.go:38
↓ 3 callers
Method
Stop
()
common/dynamicconfig/collection.go:137
↓ 3 callers
Method
SubscribeShardCount
SubscribeShardCount returns a ShardCountSubscription for receiving shard count updates.
service/history/shard/ownership_based_quota_scaler.go:44
↓ 3 callers
Method
T
T returns the *testing.T, panicking if the guard has been sealed.
common/testing/parallelsuite/suite.go:79
↓ 3 callers
Function
TLSInfoFromContext
TLSInfoFromContext extracts TLS information from the context's peer value.
common/authorization/interceptor.go:58
↓ 3 callers
Function
TagLoggerWithArchiveHistoryRequestAndURI
TagLoggerWithArchiveHistoryRequestAndURI tags logger with fields in the archive history request and the URI
common/archiver/util.go:23
↓ 3 callers
Function
TagLoggerWithArchiveVisibilityRequestAndURI
TagLoggerWithArchiveVisibilityRequestAndURI tags logger with fields in the archive visibility request and the URI
common/archiver/util.go:39
↓ 3 callers
Method
TakeRemaining
TakeRemaining removes all remaining values from this set and returns them.
common/collection/indexedtakelist.go:52
↓ 3 callers
Function
TaskCategoryID
(taskCategoryID int)
common/log/tag/tags.go:640
↓ 3 callers
Method
TaskFor
(taskInstance any)
chasm/export_test.go:24
↓ 3 callers
Method
TaskGroup
TaskGroup returns the side-effect task group for the task.
chasm/registrable_task.go:168
↓ 3 callers
Function
TaskKey
TaskKey returns tag for TaskKey
common/log/tag/tags.go:627
↓ 3 callers
Function
TaskOperationTag
( replicationTask *replicationspb.ReplicationTask, )
service/history/replication/metrics.go:9
↓ 3 callers
Function
TaskPriority
TaskPriority returns tag for TaskPriority
common/log/tag/tags.go:1032
↓ 3 callers
Method
TaskQueueInfoToBlob
(info *persistencespb.TaskQueueInfo)
common/persistence/serialization/serializer.go:50
↓ 3 callers
Method
TaskQueueScheduleToStartTimeout
(name string)
service/history/interfaces/mutable_state.go:227
↓ 3 callers
Method
TaskSerializer
TaskSerializer returns a [TaskSerializer] for a given type and a boolean indicating whether it was found.
service/history/hsm/registry.go:88
↓ 3 callers
Method
TaskType
()
common/tqid/task_queue_id.go:284
↓ 3 callers
Method
TaskType
()
common/tqid/task_queue_id.go:339
↓ 3 callers
Method
Terminate
(chasm.TerminateComponentRequest)
service/history/interfaces/chasm_tree.go:27
↓ 3 callers
Method
Terminate
Terminate method is invoked by the chasm framework on an execution's root component when the execution needs to be forcefully terminated. Some example
chasm/component.go:28
↓ 3 callers
Method
TerminateActivityExecution
(ctx context.Context, in *TerminateActivityExecutionRequest, opts ...grpc.CallOption)
chasm/lib/activity/gen/activitypb/v1/service_grpc.pb.go:38
↓ 3 callers
Method
TerminateWorkflow
(ctx context.Context, req *schedulespb.TerminateWorkflowRequest)
service/worker/scheduler/activities.go:244
↓ 3 callers
Function
Timeout
Timeout returns tag for timeout
common/log/tag/tags.go:976
↓ 3 callers
Method
TimerID
()
common/testing/testvars/test_vars.go:406
↓ 3 callers
Method
ToAPICallback
ToAPICallback converts a CHASM callback to API callback proto.
chasm/lib/callback/component.go:145
↓ 3 callers
Function
TokenLastEventVersion
TokenLastEventVersion returns tag for TokenLastEventVersion
common/log/tag/tags.go:833
↓ 3 callers
Function
TokenizeTextQueryString
TokenizeTextQueryString tokenizes the string by spaces It's a temporary solution as it doesn't cover tokenizer used by PostgreSQL or SQLite.
common/persistence/visibility/store/query/util.go:109
↓ 3 callers
Function
TrailerToContextMetadataInterceptor
TrailerToContextMetadataInterceptor reads metadata from gRPC response trailers and propagates it to the calling context using contextutil.ContextMetad
common/rpc/interceptor/trailer_to_context_metadata_interceptor.go:21
↓ 3 callers
Method
TryLockHigh
TryLockHigh try to lock with high priority, return true if lock acquired use TryLockHigh / UnlockHigh pair to lock / unlock
common/locks/priority_mutex.go:19
↓ 3 callers
Method
TryLockLow
TryLockLow try to lock with high priority, return true if lock acquired use TryLockLow / UnlockLow pair to lock / unlock
common/locks/priority_mutex.go:22
↓ 3 callers
Method
UnaryIntercept
( ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, )
common/rpc/interceptor/telemetry.go:165
↓ 3 callers
Method
Unmarshal
Unmarshal an object of type ListChasmExecutionsRequest from the protobuf v3 wire format
api/visibilityservice/v1/request_response.go-helpers.pb.go:14
↓ 3 callers
Method
Unmarshal
Unmarshal an object of type Baggage from the protobuf v3 wire format
api/metrics/v1/message.go-helpers.pb.go:14
↓ 3 callers
Method
Unmarshal
Unmarshal an object of type NexusEndpoint from the protobuf v3 wire format
api/persistence/v1/nexus.go-helpers.pb.go:88
↓ 3 callers
Method
Unmarshal
Unmarshal an object of type HistoryBranch from the protobuf v3 wire format
api/persistence/v1/history_tree.go-helpers.pb.go:51
↓ 3 callers
Method
Unmarshal
Unmarshal an object of type UpdateInfo from the protobuf v3 wire format
api/persistence/v1/update.go-helpers.pb.go:125
↓ 3 callers
Method
Unmarshal
Unmarshal an object of type HistoryTask from the protobuf v3 wire format
api/common/v1/dlq.go-helpers.pb.go:14
↓ 3 callers
Method
Unmarshal
Unmarshal an object of type HostInfo from the protobuf v3 wire format
api/cluster/v1/message.go-helpers.pb.go:14
↓ 3 callers
Function
UnpackNexusCallbackToken
UnpackNexusCallbackToken decodes a callback token produced by GenerateNexusCallback, returning the component ref and request ID. It accepts both token
chasm/nexus_completion.go:71
↓ 3 callers
Method
UnwatchHistoryEvent
(identifier definition.WorkflowKey, subscriberID string)
service/history/events/notifier.go:32
↓ 3 callers
Method
Unwrap
()
common/persistence/serialization/serializer.go:347
↓ 3 callers
Method
UpdateBuildIdAssignment
UpdateBuildIdAssignment based on initial assignment or a redirect
service/history/workflow/mutable_state_impl.go:3704
↓ 3 callers
Method
UpdateHistoryBranchInfo
UpdateHistoryBranchInfo updates the history branch with branch information
common/persistence/history_branch_util.go:31
↓ 3 callers
Method
UpdateNamespaceMetadata
(ctx context.Context, row *NamespaceMetadataRow)
common/persistence/sql/sqlplugin/namespace.go:50
↓ 3 callers
Method
UpdatePollerInfo
(pollerIdentity, *pollMetadata)
service/matching/physical_task_queue_manager_interface.go:58
↓ 3 callers
Method
UpdateRef
()
common/testing/testvars/test_vars.go:378
↓ 3 callers
Method
UpdateRemoteClusterInfo
(cluster string, ackTaskID int64, ackTimestamp time.Time)
service/history/interfaces/shard_context.go:76
↓ 3 callers
Method
UpdateSimpleRateLimitWithBurstForTesting
Additions to rateLimitManager for use by other unit tests:
service/matching/ratelimit_manager_test.go:60
↓ 3 callers
Method
UpdateWorkerDeploymentVersionMetadata
( ctx context.Context, request *workflowservice.UpdateWorkerDeploymentVersionMetadataRequest, opts ...grpc.
client/frontend/client_gen.go:1182
↓ 3 callers
Method
UpdateWorkflowExecutionWithNewAsActive
( ctx context.Context, shardContext ShardContext, newContext WorkflowContext, newMutableState Muta
service/history/interfaces/workflow_context.go:78
↓ 3 callers
Method
UpdateWorkflowStateStatus
( state enumsspb.WorkflowExecutionState, status enumspb.WorkflowExecutionStatus, )
chasm/tree.go:221
↓ 3 callers
Method
UserDataChanged
()
service/matching/physical_task_queue_manager_interface.go:51
↓ 3 callers
Method
ValidateActivityScheduleAttributes
nolint:revive
service/history/api/command_attr_validator.go:75
↓ 3 callers
Function
ValidateAndNormalizeStandaloneActivity
ValidateAndNormalizeStandaloneActivity validates and normalizes the attributes for a standalone activity.
chasm/lib/activity/validator.go:24
↓ 3 callers
Function
ValidateClusterInformation
ValidateClusterInformation checks the invariants that NewMetadata and the runtime refresh both depend on. It is also used at admin/operator RPC bounda
common/cluster/metadata.go:500
↓ 3 callers
Function
ValidateCreateWorkflowModeState
NOTE: when modifying this file, plz make each case clear, do not combine cases together. The idea for this file is to test whether current record poin
common/persistence/operation_mode_validator.go:14
↓ 3 callers
Method
ValidateCustomSearchAttributes
( searchAttributes map[string]any, )
common/persistence/visibility/store/elasticsearch/visibility_store.go:198
↓ 3 callers
Function
ValidateDeploymentVersionFields
ValidateDeploymentVersionFields is a helper that verifies if the fields within a Worker Deployment Version are valid
common/worker_versioning/worker_versioning.go:605
↓ 3 callers
Function
ValidateFairnessKey
(key string)
common/priorities/priority_util.go:37
↓ 3 callers
Function
ValidateGetRequest
ValidateGetRequest validates the get archived history request
common/archiver/util.go:71
↓ 3 callers
Function
ValidateHistoryArchiveRequest
ValidateHistoryArchiveRequest validates the archive history request
common/archiver/util.go:54
↓ 3 callers
Function
ValidateLongPollContextTimeout
ValidateLongPollContextTimeout checks if the context timeout for a long poll handler is too short or below a normal value. If the timeout is not set o
common/util.go:636
↓ 3 callers
Method
ValidateNexusEndpointsActivity
(ctx context.Context, nsID namespace.ID, nsName namespace.Name)
service/worker/deletenamespace/activities.go:106
← previous
next →
6,001–6,100 of 43,335, ranked by callers