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
↓ 15 callers
Method
HasPollerAfter
(accessTime time.Time)
service/matching/physical_task_queue_manager_interface.go:61
↓ 15 callers
Method
Invoke
Invoke executes the callback logic and returns the invocation result.
components/callbacks/executors.go:99
↓ 15 callers
Function
IsActivityTaskNotFoundForToken
( token *tokenspb.Task, ai *persistencespb.ActivityInfo, isCompletedByID *bool, )
service/history/api/activity_util.go:58
↓ 15 callers
Method
IsCurrentWorkflowGuaranteed
()
service/history/interfaces/mutable_state.go:218
↓ 15 callers
Method
IsResourceDuplicated
(resourceDedupKey definition.DeduplicationID)
service/history/interfaces/mutable_state.go:235
↓ 15 callers
Method
ListNexusOperationExecutions
(context.Context, *workflowservice.ListNexusOperationExecutionsRequest)
chasm/lib/nexusoperation/frontend.go:27
↓ 15 callers
Method
MapExecuteBatchCAS
(*Batch, map[string]any)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:20
↓ 15 callers
Function
NewCompletionHTTPClient
NewCompletionHTTPClient constructs a [CompletionHTTPClient] from given options for sending Nexus operation completion callbacks via HTTP.
common/nexus/nexusrpc/completion.go:35
↓ 15 callers
Method
NewExecutionStore
NewExecutionStore returns a new execution store
common/persistence/persistence_interface.go:44
↓ 15 callers
Function
NewFuture
()
common/future/future_impl.go:31
↓ 15 callers
Function
NewMockLibrary
NewMockLibrary creates a new mock instance.
chasm/library_mock.go:33
↓ 15 callers
Function
NewMockWorker
NewMockWorker creates a new mock instance.
common/testing/mocksdk/worker_mock.go:34
↓ 15 callers
Function
NewSyncMap
()
common/collection/sync_map.go:17
↓ 15 callers
Function
NewTestVisibilitySearchAttributesMapper
NewTestVisibilitySearchAttributesMapper creates a new VisibilitySearchAttributesMapper. For testing only.
chasm/test_visibility.go:7
↓ 15 callers
Method
NexusServices
NexusServices returns a list of nexus.Service instances to register with the __temporal_system Nexus endpoint.
chasm/library.go:17
↓ 15 callers
Method
NumBufferedEvents
()
service/history/historybuilder/event_store.go:146
↓ 15 callers
Function
Or
( predicates ...Predicate[T], )
common/predicates/or.go:14
↓ 15 callers
Method
OverrideValue
(key Key, value any)
common/dynamicconfig/memory_client.go:58
↓ 15 callers
Method
ParseHistoryBranchInfo
ParseHistoryBranchInfo parses the history branch for branch information
common/persistence/history_branch_util.go:27
↓ 15 callers
Method
PartitionId
()
common/tqid/task_queue_id.go:417
↓ 15 callers
Function
ProcessBuffer
( buffer []T, isRunning bool, resolve func(enumspb.ScheduleOverlapPolicy) enumspb.ScheduleOverlapPolicy, )
service/worker/scheduler/buffer.go:30
↓ 15 callers
Method
ProcessTimeRange
ProcessTimeRange generates buffered actions according to the schedule spec for the given time range. The parameter manual is propagated to the return
chasm/lib/scheduler/spec_processor.go:30
↓ 15 callers
Method
RecordWorkerHeartbeat
RecordWorkerHeartbeat receive heartbeat request from the worker.
api/matchingservice/v1/service_grpc.pb.go:213
↓ 15 callers
Method
RemoveRemoteCluster
RemoveRemoteCluster removes remote cluster.
api/adminservice/v1/service_grpc.pb.go:123
↓ 15 callers
Method
RenameNamespace
(ctx context.Context, request *RenameNamespaceRequest)
common/persistence/data_interfaces.go:1222
↓ 15 callers
Method
ReplicateHistoryEvents
( ctx context.Context, workflowKey definition.WorkflowKey, baseExecutionInfo *workflowspb.BaseExecuti
service/history/interfaces/engine.go:57
↓ 15 callers
Method
Reschedule
()
service/history/replication/executable_task.go:64
↓ 15 callers
Method
ResendHistoryEvents
( ctx context.Context, remoteClusterName string, namespaceID namespace.ID, workflowID string, r
service/history/replication/eventhandler/resend_handler.go:30
↓ 15 callers
Method
ResetActivity
(ctx context.Context, request *historyservice.ResetActivityRequest)
service/history/interfaces/engine.go:98
↓ 15 callers
Method
SetRequestLinks
SetRequestLinks records the links contributed by the given request on the component, replacing any prior entry for the same request ID. Passing nil/em
chasm/context.go:96
↓ 15 callers
Method
SetScheduledTime
(time.Time)
service/history/queues/executable.go:52
↓ 15 callers
Method
SetSliceCount
(readerID int64, count int)
service/history/queues/monitor.go:34
↓ 15 callers
Method
StartBatchOperation
( ctx context.Context, request *workflowservice.StartBatchOperationRequest, )
service/frontend/workflow_handler.go:5634
↓ 15 callers
Method
State
()
components/callbacks/statemachine.go:66
↓ 15 callers
Method
Stop
()
service/history/replication/task_fetcher.go:44
↓ 15 callers
Function
Stringer
(key string, value fmt.Stringer)
common/log/tag/zap_tag.go:178
↓ 15 callers
Method
SyncHSMState
( ctx context.Context, request *historyi.SyncHSMRequest, )
service/history/ndc/hsm_state_replicator.go:31
↓ 15 callers
Function
TaskTypeTag
(value string)
common/metrics/tags.go:281
↓ 15 callers
Method
TerminateNexusOperationExecution
(context.Context, *workflowservice.TerminateNexusOperationExecutionRequest)
chasm/lib/nexusoperation/frontend.go:30
↓ 15 callers
Method
ToPayload
(value any)
tests/testcore/test_data_converter.go:54
↓ 15 callers
Function
TruncateUTF8
TruncateUTF8 truncates s to no more than n _bytes_, and returns a valid utf-8 string as long as the input is a valid utf-8 string. Note that truncatio
common/util/strings.go:9
↓ 15 callers
Method
UpdateActivity
(int64, ActivityUpdater)
service/history/interfaces/mutable_state.go:293
↓ 15 callers
Method
UpdateDLQAckLevel
(ctx context.Context, metadata *InternalQueueMetadata)
common/persistence/persistence_interface.go:183
↓ 15 callers
Function
Validate
Validate checks that the given links do not exceed the configured count and per-link size limits, and that each link's variant has its required fields
common/links/validator.go:14
↓ 15 callers
Function
ValidateNamespaceUUID
( namespaceUUID namespace.ID, )
service/history/api/namespace.go:52
↓ 15 callers
Method
VerifyFirstWorkflowTaskScheduled
(ctx context.Context, request *historyservice.VerifyFirstWorkflowTaskScheduledRequest)
service/history/interfaces/engine.go:54
↓ 15 callers
Method
VersioningOverridePinned
()
common/testing/testvars/test_vars.go:289
↓ 15 callers
Method
VisitUpdates
(visitor func(updID string, updInfo *persistencespb.UpdateInfo))
service/history/workflow/update/store.go:18
↓ 15 callers
Method
Wait
(ctx context.Context, namespaceName namespace.Name, methodName string, headerGetter headers.HeaderGetter)
common/rpc/interceptor/namespace_rate_limit.go:36
↓ 15 callers
Method
WaitForHistoryEvents
(expectedHistory string, actualHistoryEventsReader HistoryEventsReader, waitFor time.Duration, tick time.Durat
common/testing/historyrequire/history_require.go:144
↓ 15 callers
Method
Weight
()
common/tasks/weighted_channel.go:40
↓ 15 callers
Function
WithDeadlineBuffer
WithDeadlineBuffer returns a child context with a deadline that ensures that at least buffer amount of time remains after the child deadline expires a
common/contextutil/deadline.go:16
↓ 15 callers
Function
WithRetries
(c int)
tests/testcore/taskpoller.go:95
↓ 15 callers
Function
WithSearchAttributes
( searchAttributes ...SearchAttribute, )
chasm/registrable_component.go:109
↓ 15 callers
Method
cancel
()
common/clock/context.go:42
↓ 15 callers
Method
checkDescribeWorkflowAfterOverride
( env *testcore.TestEnv, wf *commonpb.WorkflowExecution, expectedOverride *workflowpb.VersioningOverride, )
tests/worker_deployment_version_test.go:1650
↓ 15 callers
Method
constructTestHistoryIterator
( mockExecutionMgr *persistence.MockExecutionManager, targetHistoryBlobSize int, initialState []byte, )
common/archiver/history_iterator_test.go:662
↓ 15 callers
Method
createStartWorkflowExecutionRequest
(env *testcore.TestEnv, id, wt, tl string)
tests/advanced_visibility_test.go:1025
↓ 15 callers
Method
defaultListRequest
defaultListRequest returns the standard ListNamespacesRequest used by the registry.
common/namespace/nsregistry/registry_watch_test.go:201
↓ 15 callers
Function
enableUpdateCallbacksOpts
()
tests/nexus_workflow_update_test.go:148
↓ 15 callers
Method
fieldType
()
chasm/tree.go:676
↓ 15 callers
Function
file_temporal_server_api_taskqueue_v1_message_proto_rawDescGZIP
()
api/taskqueue/v1/message.pb.go:1222
↓ 15 callers
Method
getDB
TODO(pri): remove
service/matching/backlog_manager.go:55
↓ 15 callers
Function
hasWordAt
hasWordAt is a simple test to check if it matches the whole word: it checks if the adjacent characters are not alphanumeric if they exist.
common/persistence/query_util.go:201
↓ 15 callers
Method
inc
Returns the next highest fair level.
service/matching/fair_level.go:49
↓ 15 callers
Function
isRetryableUpdateError
(err error)
service/worker/workerdeployment/util.go:375
↓ 15 callers
Method
less
Returns true if a < b lexicographically.
service/matching/fair_level.go:24
↓ 15 callers
Function
mergeWorkflowExecutionOptions
mergeWorkflowExecutionOptions copies the given paths in `src` struct to `dst` struct and returns the merged opts and the options to reapply
service/history/api/updateworkflowoptions/api.go:198
↓ 15 callers
Method
newBacklogTaskWithPriority
(id int64, age time.Duration, f func(*internalTask, taskResponse), pri *commonpb.Priority)
service/matching/matcher_data_test.go:123
↓ 15 callers
Function
newKey
()
common/testing/testhooks/test_impl.go:91
↓ 15 callers
Method
newRandomHistoryNodeMetadata
( branch *persistencespb.HistoryBranch, nodeID int64, transactionID int64, prevTransactionID int64, )
common/persistence/history_node_util_test.go:147
↓ 15 callers
Method
newRandomTasksRow
( queueID []byte, taskID int64, )
common/persistence/sql/sqlplugin/tests/matching_task.go:253
↓ 15 callers
Function
newTaggedMetricsHandler
newTaggedMetricsHandler returns a metrics handler tagged with the Scheduler's namespace and backend.
chasm/lib/scheduler/util.go:44
↓ 15 callers
Function
newTestUnversionedPhysicalQueueKey
(namespaceId string, name string, taskType enumspb.TaskQueueType, partition int)
service/matching/user_data_manager_test.go:863
↓ 15 callers
Function
readSchemaDir
readSchemaDir returns a sorted list of subdir names that hold the schema changes for versions in the range startVer < ver <= endVer when endVer is emp
tools/common/schema/updatetask.go:390
↓ 15 callers
Function
run
( parentCtx context.Context, tb testing.TB, condition func(*T), cfg config, funcName string, misuseHint
common/testing/await/require_ctx.go:68
↓ 15 callers
Method
sanitizeAndParseArgs
nolint:revive,cognitive-complexity
tools/testrunner/testrunner.go:91
↓ 15 callers
Method
sendNexusCompletionRequest
( ctx context.Context, url string, completion nexusrpc.CompleteOperationOptions, )
tests/nexus_workflow_test.go:2940
↓ 15 callers
Method
setNamespace
( namespaceEntry *namespace.Namespace, req any, )
common/rpc/interceptor/namespace_validator.go:157
↓ 15 callers
Method
setupTest
()
tests/xdc/base.go:221
↓ 15 callers
Method
shouldExecuteTimeSkipping
ShouldExecuteTimeSkipping checks if one mutable state should execute time skipping, i.e. there is no in-flight work and there is a time point to skip
service/history/workflow/mutable_state_impl.go:10109
↓ 15 callers
Method
startManager
startManager builds and starts the scaleManager. Call this after configuring EXPECTs and tweaking s.settings. Pass initial=nil to start with no prior
service/matching/scale_manager_test.go:82
↓ 15 callers
Method
tearDownSuite
()
tests/xdc/base.go:205
↓ 15 callers
Function
totalApproximateBacklogCount
(c backlogManager)
service/matching/backlog_manager_test.go:693
↓ 15 callers
Method
validateCommandAttr
( validationFn commandAttrValidationFn, )
service/history/api/respondworkflowtaskcompleted/workflow_task_completed_handler.go:1536
↓ 15 callers
Method
validatePollTask
Poll task and assert no error and that a non-nil task is returned
service/matching/task_queue_partition_manager_test.go:1271
↓ 15 callers
Method
validateRates
validateRates verifies TasksAddRate and/or TasksDispatchRate in a dedicated await block. This should be called immediately after the relevant operatio
tests/task_queue_stats_test.go:1331
↓ 15 callers
Method
writeEventToCache
( event *historypb.HistoryEvent, )
service/history/workflow/mutable_state_impl.go:2065
↓ 15 callers
Method
writeFailure
(writer http.ResponseWriter, r *http.Request, err error)
service/frontend/nexus_operation_http_handler.go:115
↓ 14 callers
Function
AddAndSwitchVersionHistory
AddAndSwitchVersionHistory adds a VersionHistory and switch the current branch if necessary based on the Version of the last VersionHistoryItem. Retur
common/persistence/versionhistory/version_histories.go:105
↓ 14 callers
Method
AddHistoryEvent
(t enumspb.EventType, setAttributes func(*historypb.HistoryEvent))
chasm/tree.go:216
↓ 14 callers
Function
ArchetypeTag
(value string)
common/metrics/tags.go:288
↓ 14 callers
Method
AttachRequestID
(requestID string, eventType enumspb.EventType, eventID int64)
service/history/interfaces/mutable_state.go:149
↓ 14 callers
Method
Check
(ctx context.Context)
service/frontend/health_check.go:26
↓ 14 callers
Method
CreateNextUserTimer
()
service/history/workflow/timer_sequence.go:47
↓ 14 callers
Method
DeleteWorkflowExecution
(ctx context.Context, request *DeleteWorkflowExecutionRequest)
common/persistence/data_interfaces.go:1124
↓ 14 callers
Method
DeleteWorkflowExecution
(ctx context.Context, request *manager.VisibilityDeleteWorkflowExecutionRequest)
common/persistence/visibility/store/visibility_store.go:33
↓ 14 callers
Method
DescribeWorker
(nsID namespace.ID, workerInstanceKey string)
service/matching/workers/registry.go:28
↓ 14 callers
Method
Deserialize
Deserialize mutates the given params object with the value of the component when parsing an HTTP path, e.g. setting the value of a variable to "test-n
common/routing/route.go:34
↓ 14 callers
Function
ESIndex
(index string)
common/log/tag/tags.go:742
← previous
next →
1,701–1,800 of 43,335, ranked by callers