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
↓ 28 callers
Function
WithWorkerService
WithWorkerService enables the system worker service. The service is off by default to avoid the worker overhead. This implies a dedicated cluster.
tests/testcore/test_env.go:156
↓ 28 callers
Method
buildWorkflowMutableState
()
service/history/workflow/mutable_state_impl_test.go:2545
↓ 28 callers
Method
createPersistenceMutableState
( ms historyi.MutableState, lastEventID int64, lastEventVersion int64, )
service/history/timer_queue_active_task_executor_test.go:2316
↓ 28 callers
Method
defaultQueue
()
service/matching/task_queue_partition_manager.go:283
↓ 28 callers
Method
failover
( ns string, inClusterIndex int, targetCluster string, targetFailoverVersion int64, )
tests/xdc/base.go:382
↓ 28 callers
Method
getLogger
()
service/history/ndc/replication_task.go:42
↓ 28 callers
Method
getTaskCount
getTaskCount returns number of tasks in a task queue
service/matching/matching_engine_test.go:5498
↓ 28 callers
Method
updateWithStartReq
(env testcore.Env, tv *testvars.TestVars)
tests/update_workflow_test.go:5067
↓ 28 callers
Method
verifyDescribeWorkerDeployment
( actualResp *workflowservice.DescribeWorkerDeploymentResponse, expectedResp *workflowservice.DescribeWorker
tests/worker_deployment_test.go:3331
↓ 27 callers
Method
AddListener
AddListener adds a listener which will get notified on the given channel whenever membership changes.
common/membership/interfaces.go:78
↓ 27 callers
Function
CheckTaskVersion
CheckTaskVersion will return an error if task version check fails
service/history/ndc_task_util.go:32
↓ 27 callers
Method
EnqueueTaskNoWait
(task *internalTask)
service/matching/matcher_data.go:244
↓ 27 callers
Method
GetBufferedStarts
()
chasm/lib/scheduler/gen/schedulerpb/v1/message.pb.go:321
↓ 27 callers
Method
GetHistoryArchiver
(scheme string)
common/archiver/provider/provider.go:30
↓ 27 callers
Method
GetNextVertices
GetNextVertices generates next vertex batch
common/testing/generator_interface.go:30
↓ 27 callers
Method
GetOrCreateShard
(ctx context.Context, request *GetOrCreateShardRequest)
common/persistence/data_interfaces.go:1110
↓ 27 callers
Method
GetReason
()
api/schedule/v1/message.pb.go:895
↓ 27 callers
Method
GetSession
()
common/persistence/cassandra/test.go:184
↓ 27 callers
Method
HandlerName
()
common/testing/testvars/test_vars.go:385
↓ 27 callers
Method
Header
()
service/frontend/nexus_http_response_writer.go:22
↓ 27 callers
Method
Histogram
Histogram obtains a histogram for the given name.
common/metrics/metrics.go:35
↓ 27 callers
Method
IsRoot
IsRoot always returns false for Sticky partitions
common/tqid/task_queue_id.go:47
↓ 27 callers
Method
Less
(i, j int)
common/tasks/weighted_channel.go:82
↓ 27 callers
Function
New
( t Helper, client workflowservice.WorkflowServiceClient, namespace string, )
common/testing/taskpoller/taskpoller.go:94
↓ 27 callers
Function
NewHook
(key Key[T, S], value T)
common/testing/testhooks/test_impl.go:69
↓ 27 callers
Function
NewInt
(key string, value int)
common/log/tag/zap_tag.go:90
↓ 27 callers
Function
NewIterator
( paginationFnProvider PaginationFnProvider, r Range, )
service/history/queues/iterator.go:32
↓ 27 callers
Function
NewMockExecutable
NewMockExecutable creates a new mock instance.
service/history/queues/executable_mock.go:37
↓ 27 callers
Method
PauseActivity
(ctx context.Context, request *historyservice.PauseActivityRequest)
service/history/interfaces/engine.go:96
↓ 27 callers
Method
RemoveListener
RemoveListener removes a listener for this service.
common/membership/interfaces.go:80
↓ 27 callers
Method
RequestCancelActivityExecution
(context.Context, *workflowservice.RequestCancelActivityExecutionRequest)
chasm/lib/activity/frontend.go:32
↓ 27 callers
Method
RespondActivityTaskCanceled
(ctx context.Context, request *historyservice.RespondActivityTaskCanceledRequest)
service/history/interfaces/engine.go:40
↓ 27 callers
Method
SaveClusterMetadata
(ctx context.Context, request *SaveClusterMetadataRequest)
common/persistence/data_interfaces.go:1241
↓ 27 callers
Method
SuppressBy
(incomingWorkflow Workflow)
service/history/ndc/workflow.go:32
↓ 27 callers
Function
UpdateComponent
TODO: - consider merge with ReadComponent - consider remove ComponentRef from the return value and allow components to get the ref in the transition f
chasm/engine.go:296
↓ 27 callers
Method
UpdateWorkflowExecutionOptions
(ctx context.Context, request *historyservice.UpdateWorkflowExecutionOptionsRequest)
service/history/interfaces/engine.go:50
↓ 27 callers
Method
ensureCreateVersionInDeployment
( env *VersioningTestEnv, tv *testvars.TestVars, )
tests/worker_deployment_test.go:126
↓ 27 callers
Method
getCount
()
common/namespace/nsregistry/registry_watch_test.go:63
↓ 27 callers
Function
mustEncodeValue
(val any, valueType enumspb.IndexedValueType)
common/persistence/visibility/store/elasticsearch/visibility_store_read_test.go:89
↓ 27 callers
Method
testComponentTree
Helper method to create a test tree for TestComponent.
chasm/tree_test.go:3191
↓ 26 callers
Method
Acquire
(ctx context.Context, priority Priority, n int)
common/locks/priority_semaphore.go:7
↓ 26 callers
Function
Address
Address return tag for Address
common/log/tag/tags.go:436
↓ 26 callers
Method
AfterFunc
(d time.Duration, f func())
common/clock/time_source.go:13
↓ 26 callers
Function
Counter
Counter returns tag for Counter
common/log/tag/tags.go:511
↓ 26 callers
Method
DedicatedWorkerOptions
DedicatedWorkerOptions returns a PerNSDedicatedWorkerOptions for this worker component.
service/worker/common/interface.go:44
↓ 26 callers
Method
DeepEqual
(a any, b any)
common/testing/protoassert/assert.go:108
↓ 26 callers
Method
DescribeNamespace
DescribeNamespace returns the information and configuration for a registered namespace.
service/frontend/workflow_handler.go:472
↓ 26 callers
Method
DescribeWorkerDeploymentVersion
( ctx context.Context, request *workflowservice.DescribeWorkerDeploymentVersionRequest, opts ...grpc.CallOp
client/frontend/client_gen.go:272
↓ 26 callers
Function
Encode
(value ...any)
common/payloads/payloads.go:33
↓ 26 callers
Method
GenerateWorkflowCloseTasks
( closedTime time.Time, deleteAfterClose bool, skipCloseTransferTask bool, )
service/history/workflow/task_generator.go:38
↓ 26 callers
Function
GetAndUpdateWorkflowWithNew
( ctx context.Context, reqClock *clockspb.VectorClock, workflowKey definition.WorkflowKey, action UpdateWo
service/history/api/update_workflow_util.go:14
↓ 26 callers
Method
GetHistoryBranchUtil
()
common/persistence/data_interfaces.go:1119
↓ 26 callers
Method
GetNextEventID
GetNextEventID returns next event ID
service/history/workflow/mutable_state_impl.go:2465
↓ 26 callers
Method
GetQueueExclusiveHighReadWatermark
(category tasks.Category)
service/history/interfaces/shard_context.go:68
↓ 26 callers
Function
GetTypedPropertyFn
(value T)
common/dynamicconfig/setting_gen.go:971
↓ 26 callers
Method
HasNextVertex
HasNextVertex determines if there is more vertex to generate
common/testing/generator_interface.go:28
↓ 26 callers
Method
HostInfo
()
common/membership/interfaces.go:94
↓ 26 callers
Method
Iter
()
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:32
↓ 26 callers
Method
MarkPoisonPill
()
service/history/replication/executable_task.go:91
↓ 26 callers
Function
NewConfigError
NewConfigError creates and returns an instance of ConfigError
tools/common/schema/types.go:173
↓ 26 callers
Function
NewFakeTask
( workflowKey definition.WorkflowKey, category Category, visibilityTimestamp time.Time, )
service/history/tasks/fake_task.go:21
↓ 26 callers
Function
NewMockClient
NewMockClient creates a new mock instance.
common/testing/mocksdk/client_mock.go:37
↓ 26 callers
Method
StartBatchOperation
( ctx context.Context, request *workflowservice.StartBatchOperationRequest, opts ...grpc.CallOption, )
client/frontend/client_gen.go:992
↓ 26 callers
Function
ThrottleRetry
ThrottleRetry is a resource aware version of Retry. Resource exhausted error will be retried using a different throttle retry policy, instead of the s
common/backoff/retry.go:41
↓ 26 callers
Function
TimeNowPtrUtcAddSeconds
(seconds int)
common/primitives/timestamp/time.go:44
↓ 26 callers
Method
Validate
Validate checks if the task is still valid for processing for the current node state. Implementors may return [ErrStaleReference] or [consts.ErrWorkfl
service/history/hsm/tasks.go:40
↓ 26 callers
Function
WithExpectedAttemptCount
(c int)
tests/testcore/taskpoller.go:92
↓ 26 callers
Method
acquireShards
(ctx context.Context)
service/history/shard/controller_impl.go:383
↓ 26 callers
Method
appendNewNode
(branch []byte, events []*historypb.HistoryEvent, txnID int64)
common/persistence/persistence-tests/history_v2_persistence.go:782
↓ 26 callers
Method
createPersistenceMutableState
( ms historyi.MutableState, lastEventID int64, lastEventVersion int64, )
service/history/timer_queue_standby_task_executor_test.go:2567
↓ 26 callers
Function
isRetryable
(failure *failurepb.Failure, nonRetryableTypes []string)
service/history/workflow/retry.go:115
↓ 26 callers
Function
newTestTask
( controller *gomock.Controller, channelKey int, )
common/tasks/interleaved_weighted_round_robin_test.go:588
↓ 26 callers
Method
pickReadPartition
(partitionCount int)
client/matching/loadbalancer.go:153
↓ 26 callers
Method
pollActivityTaskAndValidate
( ctx context.Context, t *testing.T, activityID string, taskQueue string, runID string, )
tests/activity_standalone_test.go:6199
↓ 25 callers
Method
AdvanceNext
AdvanceNext advances to the next timer.
common/clock/event_time_source.go:127
↓ 25 callers
Method
ConvertError
(err error)
common/persistence/sql/sqlplugin/db_handle.go:157
↓ 25 callers
Method
CreateNamespace
CreateNamespace helper method
common/persistence/persistence-tests/metadata_persistence_v2.go:1440
↓ 25 callers
Method
CreateWorkerDeployment
( ctx context.Context, namespaceEntry *namespace.Namespace, deploymentName string, identity string,
service/worker/workerdeployment/client.go:67
↓ 25 callers
Method
DeleteNamespace
(ctx context.Context, request *DeleteNamespaceRequest)
common/persistence/data_interfaces.go:1223
↓ 25 callers
Method
Enabled
Enabled reports whether the handler handles records at the given level.
common/log/slog.go:39
↓ 25 callers
Method
FailureToError
FailureToError converts a [Failure] to an [error].
common/nexus/nexusrpc/failure_converter.go:22
↓ 25 callers
Method
GetCategory
()
service/history/tasks/task.go:21
↓ 25 callers
Method
GetCloseVersion
()
service/history/interfaces/mutable_state.go:178
↓ 25 callers
Method
GetDatabaseMutableState
()
api/adminservice/v1/request_response.pb.go:455
↓ 25 callers
Method
GetModTime
()
common/dynamicconfig/file_based_client.go:25
↓ 25 callers
Method
GetPhysicalTaskQueueInfo
()
api/taskqueue/v1/message.pb.go:401
↓ 25 callers
Method
GetPollers
()
api/taskqueue/v1/message.pb.go:452
↓ 25 callers
Method
GetVisibilityArchiver
(scheme string)
common/archiver/provider/provider.go:31
↓ 25 callers
Method
ImportWorkflowExecution
(ctx context.Context, request *historyservice.ImportWorkflowExecutionRequest)
service/history/interfaces/engine.go:82
↓ 25 callers
Method
IsMasterCluster
IsMasterCluster whether current cluster is master cluster
common/cluster/metadata.go:44
↓ 25 callers
Function
MergeVersioningData
MergeVersioningData merges two VersioningData structs. If a build ID appears in both data structures, the merged structure will include that latest st
service/matching/version_sets_merge.go:136
↓ 25 callers
Function
NamespaceUnknownTag
NamespaceUnknownTag returns a new namespace:unknown tag-value
common/metrics/tags.go:121
↓ 25 callers
Function
NewDataBlob
NewDataBlob returns a new DataBlob. TODO: return an UnknowEncodingType error with the actual type string when encodingTypeStr is invalid
common/persistence/data_blob.go:10
↓ 25 callers
Function
NewMockClient
NewMockClient creates a new mock instance.
common/archiver/gcloud/connector/client_mock.go:33
↓ 25 callers
Function
NewMockServiceResolver
NewMockServiceResolver creates a new mock instance.
common/membership/interfaces_mock.go:171
↓ 25 callers
Method
RootPartition
()
common/tqid/task_queue_id.go:276
↓ 25 callers
Method
Send
(Req)
service/history/replication/bi_direction_stream.go:40
↓ 25 callers
Function
StalenessCheck
StalenessCheck verifies that refVersionedTransition is contained in the given transition history. When a task or API request is being processed, the
common/persistence/transitionhistory/transition_history.go:81
↓ 25 callers
Function
UnixOrZeroTimePtr
(nanos int64)
common/primitives/timestamp/time.go:36
↓ 25 callers
Method
UnpauseWorkflowExecution
(ctx context.Context, request *historyservice.UnpauseWorkflowExecutionRequest)
service/history/interfaces/engine.go:100
← previous
next →
1,001–1,100 of 43,335, ranked by callers