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
Function
NewQueryParser
NewQueryParser creates a new query parser for filestore
common/archiver/s3store/query_parser.go:49
↓ 3 callers
Function
NewRPCFactory
NewRPCFactory creates a new RPCFactory backed by a PipeListener.
common/testing/nettest/rpc_factory.go:22
↓ 3 callers
Function
NewReplicator
NewReplicator create a new instance of namespace replicator
common/namespace/nsreplication/transmission_task_handler.go:43
↓ 3 callers
Function
NewRetryableInterceptor
( policy backoff.RetryPolicy, isRetryable backoff.IsRetryable, )
common/rpc/interceptor/retry.go:19
↓ 3 callers
Function
NewRoutingKeyExtractor
()
common/rpc/interceptor/routing_key_extractor.go:20
↓ 3 callers
Function
NewScheduledQueue
( shard historyi.ShardContext, category tasks.Category, scheduler Scheduler, rescheduler Rescheduler, exe
service/history/queues/queue_scheduled.go:43
↓ 3 callers
Function
NewSchedulerIdleTaskHandler
(opts SchedulerIdleTaskHandlerOptions)
chasm/lib/scheduler/scheduler_tasks.go:43
↓ 3 callers
Function
NewSearchAttributeDouble
NewSearchAttributeDouble creates a new double search attribute given a predefined chasm field
chasm/search_attribute.go:329
↓ 3 callers
Function
NewSenderFlowController
(config *configs.Config, logger log.Logger)
service/history/replication/stream_sender_flow_controller.go:38
↓ 3 callers
Function
NewSerializationError
NewSerializationError returns a SerializationError
common/persistence/serialization/serializer.go:333
↓ 3 callers
Function
NewServer
NewServer returns a new instance of server that serves one or many services.
temporal/server.go:44
↓ 3 callers
Function
NewServerMetricsTrailerPropagatorInterceptor
NewServerMetricsTrailerPropagatorInterceptor returns grpc server interceptor that injects metrics from context into gRPC trailer.
common/metrics/grpc.go:81
↓ 3 callers
Function
NewShardSuite
( t *testing.T, shardStore p.ShardStore, serializer serialization.Serializer, logger log.Logger, )
common/persistence/tests/shard.go:34
↓ 3 callers
Function
NewStaticPriorityAssigner
(priority tasks.Priority)
service/history/queues/priority_assigner.go:71
↓ 3 callers
Function
NewStreamReceiverMonitor
( processToolBox ProcessToolBox, executableTaskConverter ExecutableTaskConverter, enableStreaming bool, )
service/history/replication/stream_receiver_monitor.go:54
↓ 3 callers
Function
NewStringsTag
(key string, value []string)
common/log/tag/zap_tag.go:52
↓ 3 callers
Function
NewTaskExecutor
NewTaskExecutor creates a replication task executor The executor uses by 1) DLQ replication task handler 2) history replication task processor
service/history/replication/task_executor.go:59
↓ 3 callers
Function
NewTaskPersistenceRetryableClient
NewTaskPersistenceRetryableClient creates a client to manage tasks
common/persistence/persistence_retryable_clients.go:90
↓ 3 callers
Function
NewTaskQueueTypedSetting
NewTaskQueueTypedSetting creates a setting that uses mapstructure to handle complex structured values. The value from dynamic config will be _merged_
common/dynamicconfig/setting_gen.go:1255
↓ 3 callers
Function
NewTestController
( engineFactory *MockEngineFactory, config *configs.Config, resource *resourcetest.Test, hostInfoProvider
service/history/shard/controller_test.go:66
↓ 3 callers
Function
NewTreeFromDB
NewTreeFromDB creates a new in-memory CHASM tree from a collection of flattened persistence CHASM nodes. This method should only be used when loading
chasm/tree.go:258
↓ 3 callers
Function
NewValidator
( config Config, saMapperProvider searchattribute.MapperProvider, saValidator *searchattribute.Validator, )
chasm/lib/workflow/validator.go:39
↓ 3 callers
Function
NewWorkflowTaskToken
( namespaceID string, workflowID string, runID string, scheduledEventID int64, startedEventId int64, sta
common/tasktoken/token.go:9
↓ 3 callers
Function
NewWorkflowWithSignal
( shard historyi.ShardContext, namespaceEntry *namespace.Namespace, workflowID string, runID string, star
service/history/api/create_workflow_util.go:44
↓ 3 callers
Function
Next
Next generates the next clock timestamp given the current clock. HybridLogicalClock requires the previous clock to ensure that time doesn't move backw
common/clock/hybrid_logical_clock/hybrid_logical_clock.go:16
↓ 3 callers
Function
NextAlignedTime
NextAlignedTime returns the earliest time after `t` that is aligned to an integer multiple of `align` since the unix epoch.
common/util/util.go:34
↓ 3 callers
Method
NextTime
NextTime returns the next time result, or an error if the schedule cannot be compiled.
chasm/lib/scheduler/spec_processor.go:206
↓ 3 callers
Function
NexusEndpointTag
(value string)
common/metrics/tags.go:402
↓ 3 callers
Function
NexusOperationTag
(value string)
common/metrics/tags.go:413
↓ 3 callers
Function
NexusServiceTag
(value string)
common/metrics/tags.go:409
↓ 3 callers
Function
Number
Number returns tag for Number
common/log/tag/tags.go:526
↓ 3 callers
Function
NumberDeleted
NumberDeleted returns tag for NumberDeleted
common/log/tag/tags.go:655
↓ 3 callers
Function
NumberProcessed
NumberProcessed returns tag for NumberProcessed
common/log/tag/tags.go:650
↓ 3 callers
Method
OnSuccess
( ctx context.Context, )
service/history/api/updateworkflow/api.go:227
↓ 3 callers
Function
ParseCountGroupByRows
(rows dbRowsIf, groupBy []string)
common/persistence/sql/sqlplugin/visibility.go:149
↓ 3 callers
Function
ParseDLQMessages
ParseDLQMessages parses a JSONL file containing serialized [tdbg.DLQMessage] objects.
tools/tdbg/tdbgtest/output_parsing.go:22
↓ 3 callers
Method
Password
()
common/archiver/uri.go:15
↓ 3 callers
Function
PerNamespaceWorkerManagerProvider
(params perNamespaceWorkerManagerInitParams)
service/worker/fx.go:212
↓ 3 callers
Method
PersistenceTTL
PersistenceTTL returns the TTL for the partition's persistence metadata. A zero value means no TTL (metadata persists indefinitely).
common/tqid/task_queue_id.go:52
↓ 3 callers
Method
Poisoned
Poisoned reports whether the cluster's logger has recorded a failing log.
tests/testcore/functional_test_base.go:784
↓ 3 callers
Method
PollActivityExecution
(ctx context.Context, in *PollActivityExecutionRequest, opts ...grpc.CallOption)
chasm/lib/activity/gen/activitypb/v1/service_grpc.pb.go:37
↓ 3 callers
Method
PollNexusTask
( req *workflowservice.PollNexusTaskQueueRequest, )
common/testing/taskpoller/taskpoller.go:113
↓ 3 callers
Function
PopulateCallerInfo
PopulateCallerInfo gets current caller info value from the context and updates any that are missing. Namespace name and method are passed as functions
common/rpc/interceptor/caller_info.go:45
↓ 3 callers
Function
Port
Port returns tag for Port
common/log/tag/tags.go:486
↓ 3 callers
Method
Predicate
Predicate constructs a prdicate from a slice of keys.
service/history/queues/grouper.go:13
↓ 3 callers
Method
PrintHistoryEventsCompact
(events []*historypb.HistoryEvent)
common/testing/historyrequire/history_require.go:259
↓ 3 callers
Method
ProcessSpooledTask
TODO(pri): old matcher cleanup
service/matching/physical_task_queue_manager_interface.go:44
↓ 3 callers
Function
ProtoElementsMatch
ProtoElementsMatch behaves like assert.ElementsMatch except in that it works for google/protobuf-generated structs
common/testing/protoassert/assert.go:69
↓ 3 callers
Method
PublishToDLQ
(ctx context.Context, task *replicationspb.ReplicationTask)
common/persistence/namespace_replication_queue.go:75
↓ 3 callers
Method
PublishUpdates
PublishUpdates calls all subscribed update functions with the changed keys.
common/dynamicconfig/client_subscriptions.go:42
↓ 3 callers
Method
PutCache
(key any, value any)
service/matching/task_queue_partition_manager_interface.go:65
↓ 3 callers
Method
PutMapping
TODO (alex): move this to some admin client (and join with IntegrationTestsClient)
common/persistence/visibility/store/elasticsearch/client/client.go:28
↓ 3 callers
Method
PutObject
(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options))
common/archiver/s3store/s3iface.go:13
↓ 3 callers
Method
QueryContext
(ctx context.Context, query string, args ...any)
common/persistence/sql/sqlplugin/postgresql/db.go:166
↓ 3 callers
Method
QueryType
()
common/testing/testvars/test_vars.go:414
↓ 3 callers
Method
QueueMetadataToBlob
(metadata *persistencespb.QueueMetadata)
common/persistence/serialization/serializer.go:53
↓ 3 callers
Function
QueueReaderID
task queue processor QueueReaderID returns tag for queue readerID
common/log/tag/tags.go:607
↓ 3 callers
Function
RandomHistoryEvent
(eventID int64, version int64)
common/persistence/tests/util.go:298
↓ 3 callers
Method
RangeDeleteFromHistoryNode
(ctx context.Context, filter HistoryNodeDeleteFilter)
common/persistence/sql/sqlplugin/history_node.go:52
↓ 3 callers
Method
RangeDeleteFromReplicationDLQTasks
RangeDeleteFromReplicationDLQTasks deletes one or more rows from replication_tasks_dlq table ReplicationDLQTasksRangeFilter - {PageSize} will be ignor
common/persistence/sql/sqlplugin/history_replication_dlq_tasks.go:45
↓ 3 callers
Method
RangeDeleteFromReplicationTasks
DeleteFromReplicationTasks deletes multi rows from replication_tasks table ReplicationTasksRangeFilter - {PageSize} will be ignored
common/persistence/sql/sqlplugin/history_replication_tasks.go:43
↓ 3 callers
Method
RangeDeleteFromTimerTasks
RangeDeleteFromTimerTasks deletes one or more rows from timer_tasks table TimerTasksRangeFilter - {TaskID, PageSize} will be ignored
common/persistence/sql/sqlplugin/history_timer_tasks.go:47
↓ 3 callers
Method
RangeDeleteFromTransferTasks
RangeDeleteFromTransferTasks deletes one or more rows from transfer_tasks table. TransferTasksRangeFilter - {PageSize} will be ignored
common/persistence/sql/sqlplugin/history_transfer_tasks.go:43
↓ 3 callers
Method
RangeDeleteFromVisibilityTasks
RangeDeleteFromVisibilityTasks deletes one or more rows from visibility_tasks table. VisibilityTasksRangeFilter - {PageSize} will be ignored
common/persistence/sql/sqlplugin/history_visibility_tasks.go:43
↓ 3 callers
Method
Read
(ctx context.Context, lastMessageID int64, pageSize int, pageToken []byte)
common/namespace/nsreplication/dlq_message_handler.go:18
↓ 3 callers
Method
ReadRawTasks
( ctx context.Context, request *ReadRawTasksRequest, )
common/persistence/data_interfaces.go:1261
↓ 3 callers
Method
RecordExecuteResult
RecordExecuteResult exposes recordExecuteResult so tests can pin the per-RequestId idempotency guard against concurrent ExecuteTasks.
chasm/lib/scheduler/export_test.go:43
↓ 3 callers
Method
RecordLastActivityCompleteTime
(ai *persistencespb.ActivityInfo)
service/history/interfaces/mutable_state.go:153
↓ 3 callers
Method
RecordLatencyMetrics
(ctx context.Context, startTime time.Time, metricsHandler metrics.Handler)
common/rpc/interceptor/telemetry.go:207
↓ 3 callers
Method
RecycleToken
RecycleToken immediately unblocks another process that is waiting for a token, if a waiter exists. A token should be recycled when the action being ra
common/quotas/rate_limiter.go:51
↓ 3 callers
Function
ReencodeEventBlobsAsProto3
ReencodeEventBlobsAsProto3 re-encodes event blobs as proto3 if the serializer uses a different encoding. In production (proto3 encoding), this returns
common/persistence/serialization/serializer.go:682
↓ 3 callers
Method
RegenerateTasks
(*Node)
service/history/hsm/sm.go:15
↓ 3 callers
Function
RegisterEventDefinitions
(reg *hsm.Registry)
components/nexusoperations/events.go:282
↓ 3 callers
Function
RegisterExecutor
( registry *hsm.Registry, executorOptions TaskExecutorOptions, )
components/callbacks/executors.go:24
↓ 3 callers
Method
RegisterRoutes
(r *mux.Router)
service/frontend/openapi_http_handler.go:33
↓ 3 callers
Function
RelocatableAttributesFetcherProvider
RelocatableAttributesFetcherProvider provides a new instance of a RelocatableAttributesFetcher. The manager.VisibilityManager parameter is used to fet
service/history/workflow/relocatable_attributes_fetcher.go:32
↓ 3 callers
Method
Remaining
()
service/history/queues/iterator.go:19
↓ 3 callers
Method
Remove
Remove deletes the given key from the map
common/collection/concurrent_tx_map.go:113
↓ 3 callers
Method
RemovePoller
(pollerIdentity)
service/matching/physical_task_queue_manager_interface.go:59
↓ 3 callers
Method
RemoveReader
(readerID int64)
service/history/queues/monitor.go:37
↓ 3 callers
Method
RemoveSlice
(slice Slice)
service/history/queues/monitor.go:36
↓ 3 callers
Method
ReplaceIntoChasmNodeMaps
ReplaceIntoChasmNodeMaps replaces one or more rows in the chasm_node_maps table.
common/persistence/sql/sqlplugin/history_chasm.go:48
↓ 3 callers
Function
ReplicationTaskTypeTag
ReplicationTaskTypeTag returns a new replication task type tag.
common/metrics/tags.go:465
↓ 3 callers
Method
ReprocessTasks
(pred func(*internalTask) bool)
service/matching/matcher_data.go:389
↓ 3 callers
Method
RequestCancelActivityExecution
(ctx context.Context, in *RequestCancelActivityExecutionRequest, opts ...grpc.CallOption)
chasm/lib/activity/gen/activitypb/v1/service_grpc.pb.go:39
↓ 3 callers
Method
RequestType
()
chasm/lib/scheduler/backfiller.go:76
↓ 3 callers
Function
ResetActivity
( ctx context.Context, shardContext historyi.ShardContext, mutableState historyi.MutableState, activityId
service/history/workflow/activity.go:303
↓ 3 callers
Function
ResetContextTimeout
ResetContextTimeout creates new context with specified timeout and copies values from source Context.
common/rpc/context.go:35
↓ 3 callers
Function
ResetRegistryForTest
For testing only; do not call from regular code!
common/dynamicconfig/registry.go:41
↓ 3 callers
Method
RespondActivityTaskCanceledById
( ctx context.Context, request *workflowservice.RespondActivityTaskCanceledByIdRequest, opts ...grpc.CallOp
client/frontend/client_gen.go:802
↓ 3 callers
Method
RewriteSchemaStatements
(statements []string)
common/persistence/sql/sqlplugin/interfaces.go:118
↓ 3 callers
Method
RunDryrunTest
RunDryrunTest tests a dryrun schema setup & update
tools/common/schema/test/updatetest.go:52
↓ 3 callers
Function
RunNexusEndpointTestSuite
(t *testing.T, store persistence.NexusEndpointStore, tableVersion *atomic.Int64)
common/persistence/tests/nexus_endpoint_suite.go:17
↓ 3 callers
Method
RunNow
RunNow deletes a batch of completed tasks if it's possible to do so This method attempts deletions without waiting for size/time threshold to be met
service/matching/task_gc.go:54
↓ 3 callers
Function
RunQueueV2TestSuiteForSQL
(t *testing.T, factory *sql.Factory)
common/persistence/tests/queue_v2_test_suite.go:377
↓ 3 callers
Function
RunTool
RunTool runs the temporal-cassandra-tool command line tool
tools/cassandra/main.go:16
↓ 3 callers
Method
RunningWorkflowID
(requestID string)
chasm/lib/scheduler/export_test.go:37
↓ 3 callers
Method
Scan
(...any)
common/persistence/nosql/nosqlplugin/cassandra/gocql/interfaces.go:45
↓ 3 callers
Method
SeenNamespaceDivision
()
common/persistence/visibility/store/query/converter.go:174
↓ 3 callers
Method
SelectFromMessages
(ctx context.Context, filter QueueMessagesFilter)
common/persistence/sql/sqlplugin/queue_message.go:35
← previous
next →
5,901–6,000 of 43,335, ranked by callers