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
↓ 6 callers
Method
GetSyncWorkflowStateArtifact
( ctx context.Context, namespaceID string, execution *commonpb.WorkflowExecution, archetypeID chas
service/history/replication/sync_state_retriever.go:45
↓ 6 callers
Method
GetTask
()
service/history/queues/executable.go:741
↓ 6 callers
Function
GetTaskGeneratorProvider
()
service/history/workflow/task_generator_provider.go:34
↓ 6 callers
Function
GetTypedPropertyFnFilteredByChasmTaskType
(value T)
common/dynamicconfig/setting_gen.go:1967
↓ 6 callers
Function
GetTypedPropertyFnFilteredByDestination
(value T)
common/dynamicconfig/setting_gen.go:1831
↓ 6 callers
Function
GetTypedPropertyFnFilteredByNamespace
(value T)
common/dynamicconfig/setting_gen.go:1107
↓ 6 callers
Function
GetTypedPropertyFnFilteredByNamespaceID
(value T)
common/dynamicconfig/setting_gen.go:1243
↓ 6 callers
Function
GetTypedPropertyFnFilteredByShardID
(value T)
common/dynamicconfig/setting_gen.go:1539
↓ 6 callers
Function
GetTypedPropertyFnFilteredByTaskQueue
(value T)
common/dynamicconfig/setting_gen.go:1403
↓ 6 callers
Function
GetTypedPropertyFnFilteredByTaskType
(value T)
common/dynamicconfig/setting_gen.go:1675
↓ 6 callers
Method
GetUnpauseRequest
()
api/historyservice/v1/request_response.pb.go:10030
↓ 6 callers
Method
GetVersioningRevisionNumber
()
service/history/interfaces/mutable_state.go:403
↓ 6 callers
Method
GetWorkerDeploymentName
()
api/persistence/v1/executions.pb.go:1076
↓ 6 callers
Method
GetWorkers
()
api/matchingservice/v1/request_response.pb.go:4991
↓ 6 callers
Method
GetWorkflowID
()
common/definition/workflow_key.go:33
↓ 6 callers
Method
GetWorkflowLeaseWithConsistencyCheck
( ctx context.Context, reqClock *clockspb.VectorClock, consistencyPredicate MutableStateConsistencyPr
service/history/api/consistency_checker.go:43
↓ 6 callers
Method
GracefulStop
GracefulStop stops the HTTP server. This will first attempt a graceful stop with a drain time, then will hard-stop. This will not return until stopped
service/frontend/http_api_server.go:217
↓ 6 callers
Method
HandlePartialWorkflowTask
HandlePartialWorkflowTask for workflow task
tests/testcore/taskpoller.go:303
↓ 6 callers
Method
HasBufferedQuery
()
service/history/interfaces/query_register.go:13
↓ 6 callers
Method
HasCompletedAnyWorkflowTask
()
service/history/interfaces/mutable_state.go:355
↓ 6 callers
Method
HasStartedWorkflowTask
()
service/history/workflow/mutable_state_impl.go:2380
↓ 6 callers
Function
Host
Host returns tag for Host
common/log/tag/tags.go:481
↓ 6 callers
Method
ImportHistoryEventsFromBeginning
( ctx context.Context, remoteCluster string, workflowKey definition.WorkflowKey, endEventId int64,
service/history/replication/eventhandler/event_importer.go:29
↓ 6 callers
Method
InjectHook
(hook testhooks.Hook)
tests/testcore/matching_behavior.go:16
↓ 6 callers
Method
Intercept
Intercept extracts routing key from the request and adds it to the context. It tries each extractor in order until one returns a non-empty routing key
common/rpc/interceptor/routing_key_interceptor.go:103
↓ 6 callers
Function
InverseMap
InverseMap creates the inverse map, ie., for a key-value map, it builds the value-key map.
common/util/util.go:70
↓ 6 callers
Function
Invoke
( ctx context.Context, req *historyservice.VerifyFirstWorkflowTaskScheduledRequest, workflowConsistencyChec
service/history/api/verifyfirstworkflowtaskscheduled/api.go:15
↓ 6 callers
Function
Invoke
( ctx context.Context, req *historyservice.PollWorkflowExecutionUpdateRequest, shardContext historyi.ShardC
service/history/api/pollupdate/api.go:19
↓ 6 callers
Method
IsEmpty
()
service/history/replication/sequential_batch_queue.go:79
↓ 6 callers
Method
IsSentinel
IsSentinel returns true if this is a sentinel scheduler.
chasm/lib/scheduler/scheduler.go:201
↓ 6 callers
Function
IsServiceTransientError
IsServiceTransientError checks if the error is a retryable error.
common/util.go:300
↓ 6 callers
Function
IsShardOwnershipLostError
(err error)
service/history/shard/controller_impl.go:585
↓ 6 callers
Method
IsSignalRequested
(requestID string)
service/history/interfaces/mutable_state.go:220
↓ 6 callers
Function
IsValidContext
IsValidContext checks that the thrift context is not expired on cancelled. Returns nil if the context is still valid. Otherwise, returns the result of
common/util.go:500
↓ 6 callers
Method
LastDeletePureTaskCall
()
chasm/node_backend_mock.go:121
↓ 6 callers
Method
Less
Less implements sort.Interface
service/history/workflow/timer_sequence.go:396
↓ 6 callers
Method
ListArchivedWorkflowExecutions
ListArchivedWorkflowExecutions is a visibility API to list archived workflow executions in a specific namespace.
service/frontend/workflow_handler.go:2753
↓ 6 callers
Method
ListClusterMembers
ListClusterMembers returns information about Temporal cluster members.
api/adminservice/v1/service_grpc.pb.go:119
↓ 6 callers
Method
ListHistoryTasks
(ctx context.Context, in *ListHistoryTasksRequest, opts ...grpc.CallOption)
api/adminservice/v1/service_grpc.pb.go:87
↓ 6 callers
Method
ListOpenWorkflowExecutions
( ctx context.Context, request *workflowservice.ListOpenWorkflowExecutionsRequest, opts ...grpc.CallOption,
client/frontend/client_gen.go:492
↓ 6 callers
Method
LoadAndSortUserTimers
()
service/history/workflow/timer_sequence.go:50
↓ 6 callers
Method
LockHigh
LockHigh try to lock with high priority, use LockHigh / UnlockHigh pair to lock / unlock
common/locks/priority_mutex.go:10
↓ 6 callers
Method
Machine
Machine returns a [StateMachineDefinition] for a given type and a boolean indicating whether it was found.
service/history/hsm/registry.go:72
↓ 6 callers
Method
MarkProcessed
(stage DeleteWorkflowExecutionStage)
service/history/tasks/delete_workflow_execution_stage.go:18
↓ 6 callers
Function
MatchActivity
* MatchActivity matches the given query with the given activity info. The query should be a valid SQL query with WHERE clause. The supported fields ar
service/history/workflow/matcher/activity_matcher.go:35
↓ 6 callers
Method
Merge
(ctx context.Context, lastMessageID int64, pageSize int, pageToken []byte)
common/namespace/nsreplication/dlq_message_handler.go:20
↓ 6 callers
Method
MergeCustomSearchAttributes
MergeCustomSearchAttributes merges the provided custom search attribute fields into the existing ones. - If a key in `customSearchAttributes` already
chasm/visibility.go:214
↓ 6 callers
Method
MergeDLQTasks
(ctx context.Context, in *MergeDLQTasksRequest, opts ...grpc.CallOption)
api/adminservice/v1/service_grpc.pb.go:151
↓ 6 callers
Function
MergeProtoExcludingFields
MergeProtoExcludingFields merges fields from source into target, excluding specific fields. The fields to exclude are specified as pointers to fields
common/util.go:717
↓ 6 callers
Method
MergeSlices
(...Slice)
service/history/queues/reader.go:31
↓ 6 callers
Method
MoreTasks
()
service/history/queues/slice.go:35
↓ 6 callers
Method
Name
Name of the remote method. Must be unique per state machine.
service/history/hsm/remote_methods.go:7
↓ 6 callers
Function
NewBackgroundHighCallerInfo
NewBackgroundHighCallerInfo creates a new CallerInfo with BackgroundHigh callerType and empty callOrigin. This is equivalent to NewCallerInfo(callerNa
common/headers/caller_info.go:79
↓ 6 callers
Function
NewBatcher
NewBatcher creates a Batcher. `fn` is the processing function, `opts` are the timing options. `clock` is usually clock.NewRealTimeSource but can be a
common/stream_batcher/batcher.go:47
↓ 6 callers
Function
NewBoolTag
(key string, value bool)
common/log/tag/zap_tag.go:120
↓ 6 callers
Function
NewChasmNotifier
NewChasmNotifier creates a new instance of ChasmNotifier.
service/history/chasm_notifier.go:23
↓ 6 callers
Function
NewColName
(name string)
common/persistence/visibility/store/query/util.go:76
↓ 6 callers
Function
NewCommandAttrValidator
( namespaceRegistry namespace.Registry, config *configs.Config, searchAttributesValidator *searchattribute.
service/history/api/command_attr_validator.go:40
↓ 6 callers
Method
NewCompiledSpec
(spec *schedulepb.ScheduleSpec)
service/worker/scheduler/spec.go:56
↓ 6 callers
Function
NewCompletionHTTPHandler
NewCompletionHTTPHandler constructs an [http.Handler] from given options for handling operation completion requests.
common/nexus/nexusrpc/completion.go:310
↓ 6 callers
Method
NewEncoder
(w io.Writer)
service/frontend/protojson_marshaler.go:92
↓ 6 callers
Function
NewEndpointRegistry
( config *EndpointRegistryConfig, matchingClient matchingservice.MatchingServiceClient, persistence p.Nexus
common/nexus/endpoint_registry.go:89
↓ 6 callers
Function
NewExecutableActivityStateTask
( processToolBox ProcessToolBox, taskID int64, taskCreationTime time.Time, task *replicationspb.SyncActivi
service/history/replication/executable_activity_state_task.go:41
↓ 6 callers
Function
NewExecutionPersistenceMetricsClient
NewExecutionPersistenceMetricsClient creates a client to manage executions
common/persistence/persistence_metric_clients.go:92
↓ 6 callers
Method
NewExecutionStore
NewExecutionStore returns a new ExecutionStore
common/persistence/sql/factory.go:117
↓ 6 callers
Function
NewHandler
(logger log.Logger, clientConfig metrics.ClientConfig)
common/metrics/metricstest/metricstest.go:58
↓ 6 callers
Function
NewHistoryEventModel
NewHistoryEventModel initials new history event model
common/testing/event_generator.go:523
↓ 6 callers
Function
NewInterleavedWeightedRoundRobinScheduler
( options InterleavedWeightedRoundRobinSchedulerOptions[T, K], fifoScheduler Scheduler[T], logger log.Logge
common/tasks/interleaved_weighted_round_robin.go:73
↓ 6 callers
Function
NewLoggedCalculator
( calculator Calculator, logger log.Logger, )
common/quotas/calculator/logged_calculator.go:37
↓ 6 callers
Function
NewMSPointer
NewMSPointer creates a new MSPointer instance.
chasm/ms_pointer.go:20
↓ 6 callers
Function
NewMockBucketHandleWrapper
NewMockBucketHandleWrapper creates a new mock instance.
common/archiver/gcloud/connector/client_delegate_mock.go:71
↓ 6 callers
Function
NewMockHistoryPaginatedFetcher
NewMockHistoryPaginatedFetcher creates a new mock instance.
service/history/replication/eventhandler/remote_history_paginated_fetcher_mock.go:34
↓ 6 callers
Function
NewMockHostInfoProvider
NewMockHostInfoProvider creates a new mock instance.
common/membership/interfaces_mock.go:320
↓ 6 callers
Function
NewMockMapperProvider
NewMockMapperProvider creates a new mock instance.
common/searchattribute/mapper_mock.go:86
↓ 6 callers
Function
NewMockMonitor
NewMockMonitor creates a new mock instance.
common/membership/interfaces_mock.go:34
↓ 6 callers
Function
NewMockNexusEndpointManager
NewMockNexusEndpointManager creates a new mock instance.
common/persistence/data_interfaces_mock.go:1242
↓ 6 callers
Function
NewMockProvider
NewMockProvider creates a new mock instance.
common/searchattribute/search_attribute_mock.go:33
↓ 6 callers
Function
NewMockRunnable
NewMockRunnable creates a new mock instance.
common/tasks/task_mock.go:33
↓ 6 callers
Function
NewMockScheduler
NewMockScheduler creates a new mock instance.
service/history/queues/scheduler_mock.go:69
↓ 6 callers
Function
NewMockStreamSender
NewMockStreamSender creates a new mock instance.
service/history/replication/stream_sender_mock.go:31
↓ 6 callers
Function
NewNamespaceTypedSetting
NewNamespaceTypedSetting creates a setting that uses mapstructure to handle complex structured values. The value from dynamic config will be _merged_
common/dynamicconfig/setting_gen.go:983
↓ 6 callers
Method
NewNexusEndpointStore
NewNexusEndpointStore returns a new nexus service store
common/persistence/persistence_interface.go:50
↓ 6 callers
Function
NewOperatorNotSupportedError
( saName string, saType enumspb.IndexedValueType, operator string, )
common/persistence/visibility/store/query/errors.go:37
↓ 6 callers
Function
NewOtelMetricsHandler
NewOtelMetricsHandler returns a new Handler that uses the provided OpenTelemetry [metric.Meter] to record metrics. This OTel handler supports metric d
common/metrics/otel_metrics_handler.go:55
↓ 6 callers
Function
NewPriorityAssigner
(nsRegistry namespace.Registry, currentClusterName string)
service/history/queues/priority_assigner.go:25
↓ 6 callers
Function
NewRateLimitedScheduler
( baseScheduler Scheduler, options RateLimitedSchedulerOptions, currentClusterName string, namespaceRegist
service/history/queues/scheduler.go:236
↓ 6 callers
Function
NewRefreshingConnector
( buildDSN func() (string, error), newConnector func(dsn string) (driver.Connector, error), d driver.Driver
common/persistence/sql/sqlplugin/connector.go:17
↓ 6 callers
Function
NewResetWorkflowFailure
(message string, lastHeartbeatDetails *commonpb.Payloads)
common/failure/failure.go:25
↓ 6 callers
Function
NewSearchAttributeDateTime
NewSearchAttributeDateTime creates a new date time search attribute given a predefined chasm field
chasm/search_attribute.go:265
↓ 6 callers
Method
NewShardManager
NewShardManager returns a new shard manager
common/persistence/client/factory.go:35
↓ 6 callers
Function
NewStringerTag
NewStringerTag returns a tag that will lazily generate the string representation of the provided fmt.Stringer value. Note that it does **not** cache t
common/log/tag/zap_tag.go:65
↓ 6 callers
Function
NewTaskExecutor
NewTaskExecutor creates a new instance of namespace replicator
common/namespace/nsreplication/replication_task_executor.go:63
↓ 6 callers
Method
NewTaskStore
NewTaskStore returns a new task store
common/persistence/sql/factory.go:72
↓ 6 callers
Function
NewTransaction
( shardContext historyi.ShardContext, )
service/history/workflow/transaction_impl.go:40
↓ 6 callers
Function
NewValidator
( maxCallbacksPerExecution dynamicconfig.IntPropertyFnWithNamespaceFilter, urlMaxLength dynamicconfig.IntPro
chasm/lib/callback/validator.go:26
↓ 6 callers
Function
NewValuesInterceptor
( namespaceName namespace.Name, csaTypeMap searchattribute.NameTypeMap, chasmMapper *chasm.VisibilitySearch
common/persistence/visibility/store/elasticsearch/query_interceptors.go:58
↓ 6 callers
Function
NewWorkflowTags
( serializer *tasktoken.Serializer, logger log.Logger, )
common/rpc/interceptor/logtags/workflow_tags.go:22
↓ 6 callers
Function
NotProtoEqual
(t require.TestingT, a proto.Message, b proto.Message)
common/testing/protorequire/require.go:60
↓ 6 callers
Function
NotifyOnExecutionSnapshot
( engine historyi.Engine, workflowSnapshot *persistence.WorkflowSnapshot, )
service/history/workflow/transaction_impl.go:588
↓ 6 callers
Method
Now
Now returns the current time, with the location set to UTC.
common/clock/time_source.go:38
← previous
next →
3,701–3,800 of 43,335, ranked by callers