Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/flare
/ types & classes
Types & classes
1,233 in github.com/Tencent/flare
⨍
Functions
4,521
◇
Types & classes
1,233
↓ 41 callers
Class
MaybeOwning
flare/base/maybe_owning.h:39
↓ 35 callers
Class
Fiber
Analogous to `std::thread`, but it's for fiber. Directly constructing `Fiber` does NOT propagate execution context. Consider using `fiber::Async` ins
flare/fiber/fiber.h:49
↓ 33 callers
Class
Status
This class describes status code, as its name implies. `0` is treated as success, other values are failures.
flare/base/status.h:32
↓ 23 callers
Class
RefPtr
flare/base/ref_ptr.h:215
↓ 17 callers
Class
TestingPacketDesc
FOR TESTING PURPOSE ONLY. Represents a fake "string packet".
flare/rpc/binlog/testing.h:36
↓ 11 callers
Enum
HttpStatus
@sa: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
flare/net/http/types.h:40
↓ 11 callers
Class
RedisCommand
Represents a Redis command. This is usually a Redis request.
flare/net/redis/redis_command.h:29
↓ 11 callers
Enum
Status
flare/rpc/load_balancer/load_balancer.h:50
↓ 10 callers
Class
Future
flare/base/future/basics.h:51
↓ 7 callers
Class
Deferred
Call action on destruction. Moveable. Dismissable.
flare/base/deferred.h:40
↓ 7 callers
Class
Uuid
Represents a UUID.
flare/base/experimental/uuid.h:29
↓ 6 callers
Class
Add
Test member method
flare/fiber/fiber_test.cc:250
↓ 6 callers
Class
CosTaskCompletion
To make things symmetric, we use `CosTaskCompletion` for HTTP response.
flare/net/cos/ops/task.h:89
↓ 6 callers
Class
E
flare/base/demangle_test.cc:23
↓ 6 callers
Class
EchoMessage
flare/rpc/server_test.cc:52
↓ 6 callers
Class
PolymorphicBuffer
This structure describe a *portion* (contiguous part) of some type of buffer block (subclass of `PolymorphicBufferBlock`).
flare/base/buffer/polymorphic_buffer.h:81
↓ 6 callers
Class
Result
flare/base/write_mostly/metrics.h:52
↓ 6 callers
Class
iterator
flare/base/internal/hash_map.h:61
↓ 5 callers
Class
Unexpected
flare/base/expected.h:36
↓ 4 callers
Class
Handle
flare/testing/detail/dirty_hook.cc:102
↓ 4 callers
Class
ImplicitlyCasting
flare/testing/detail/implicitly_casting.h:25
↓ 4 callers
Class
MetricsStats
flare/base/write_mostly/metrics.h:37
↓ 4 callers
Class
StreamCallGateHandle
flare/rpc/internal/stream_call_gate_pool.h:38
↓ 4 callers
Class
SyncDeclGenerator
This class generates synchronous version of classes.
flare/rpc/protocol/protobuf/plugin/sync_decl_generator.h:25
↓ 4 callers
Class
kevent
flare/io/detail/kqueue_poller.cc:35
↓ 3 callers
Class
BasicDeclGenerator
This class generates classes that behaves in the same way as of those generated by `cc_generic_services = true;`.
flare/rpc/protocol/protobuf/plugin/basic_decl_generator.h:26
↓ 3 callers
Class
CmpMethodStats
flare/rpc/internal/rpc_metrics.h:89
↓ 3 callers
Class
CosGetObjectRequest
GetObject request.
flare/net/cos/ops/object/get_object.h:32
↓ 3 callers
Class
DescComp
flare/base/thread/out_of_duty_callback.cc:48
↓ 3 callers
Class
DynamicKey
Represents a key that, each time it's read, query its value from a global mapping (@sa: `SetDynamicKey`).
flare/base/option/key.h:100
↓ 3 callers
Class
FixedKey
Represents a key that is a plain string (i.e., it won't change).
flare/base/option/key.h:86
↓ 3 callers
Class
PacketDesc
Describes an HTTP packet.
flare/net/http/packet_desc.h:28
↓ 3 callers
Class
PacketDesc
For clients of backend services to be dry-run aware, they construct an instance of subclass of this base class for `Dumper` to inspect on. Normally s
flare/rpc/binlog/packet_desc.h:53
↓ 3 callers
Class
ProtoJsonFormatOptions
flare/rpc/protocol/protobuf/gdt_json_proto_conversion.h:30
↓ 3 callers
Class
const_iterator
flare/base/buffer/view.h:65
↓ 2 callers
Class
AsyncDeclGenerator
This class generates asynchronous version of classes.
flare/rpc/protocol/protobuf/plugin/async_decl_generator.h:25
↓ 2 callers
Class
CaseInsensitiveEqualTo
flare/base/internal/case_insensitive_hash_map.h:64
↓ 2 callers
Class
ComparableTags
This class helps us in looking up tags in a `HashMap`. Perf. note: Constructing it is slow.
flare/base/monitoring/event.h:46
↓ 2 callers
Class
GdtFutureDeclGenerator
This class generates classes that behaves in the same way as of those generated by `cc_generic_services = true;`.
flare/rpc/protocol/protobuf/plugin/gdt_future_decl_generator.h:26
↓ 2 callers
Class
InlineExecutor
An "inline" executor invokes the jobs posted to it immediately, on the posting thread. A long `Future` continuation chain on an inline executor recur
flare/base/future/executor.h:159
↓ 2 callers
Class
JsonParser
Parses `std::string` to `Json::Value`.
flare/base/option/json_parser.h:26
↓ 2 callers
Class
MemorySegment
flare/tools/gdb-plugin.py:94
↓ 2 callers
Class
RedisObject
flare/net/redis/redis_object.h:28
↓ 2 callers
Class
const_iterator
flare/base/internal/singly_linked_list.h:42
↓ 2 callers
Class
const_iterator
flare/base/internal/doubly_linked_list.h:40
↓ 2 callers
Class
const_iterator
flare/base/internal/hash_map.h:62
↓ 2 callers
Class
iterator
flare/base/internal/singly_linked_list.h:41
↓ 2 callers
Class
iterator
flare/base/internal/doubly_linked_list.h:39
↓ 1 callers
Class
A
flare/base/casting_test.cc:27
↓ 1 callers
Class
Attributes
flare/fiber/fiber.h:59
↓ 1 callers
Class
BackgroundTaskHost
To run some background task. For internal use only. INCORRECT USE OF THIS CLASS CAN ACTUALLY *DECREASE OVERALL PERFORMANCE. TODO(luobogao): Make the
flare/base/internal/background_task_host.h:34
↓ 1 callers
Class
ByteSet
Implements a set of byte.
flare/base/experimental/byte_set.h:26
↓ 1 callers
Class
ConstOperatorCall
flare/base/function_view_test.cc:42
↓ 1 callers
Class
Endpoint
flare/base/net/endpoint.h:33
↓ 1 callers
Class
Endpoint
flare/net/redis/redis_channel.h:30
↓ 1 callers
Class
ErasedPtr
RAII wrapper for holding type erased pointers. Type-safety is your own responsibility.
flare/base/erased_ptr.h:26
↓ 1 callers
Class
Fiber
This class represent an alive fiber in debuggee.
flare/tools/gdb-plugin.py:120
↓ 1 callers
Class
FixedVector
Using `std::vector<ErasedPtr>` in thread-local cache hurts optimization. The compiler cannot optimize away call to destructor of `ErasedPtr`. Besides
flare/base/object_pool/types.h:100
↓ 1 callers
Class
Flatten
flare/base/future/utils.h:386
↓ 1 callers
Class
Frame
`gdb.Frame` goes out of scope once "current" thread changes. So we make a copy of it here.
flare/tools/gdb-plugin.py:101
↓ 1 callers
Class
Function
flare/base/function.h:36
↓ 1 callers
Class
HttpTaskCompletion
Http task completion result.
flare/net/internal/http_task.h:65
↓ 1 callers
Class
InfoFibersCommand
This class implements `info fiber` command.
flare/tools/gdb-plugin.py:471
↓ 1 callers
Class
Key
To deal with a variety of option keys, we provide this class as a generic way to handle them.
flare/base/option/key.h:28
↓ 1 callers
Class
ListFibersCommand
This class implements `list-fibers` command.
flare/tools/gdb-plugin.py:490
↓ 1 callers
Class
ListFibersCompactCommand
Same as `list-fibers` except that this command collapse identical callstacks.
flare/tools/gdb-plugin.py:515
↓ 1 callers
Class
Log
flare/rpc/protocol/http/binlog_dumper_integration_test.cc:77
↓ 1 callers
Class
Log
flare/rpc/binlog/dumper_integration_test.cc:80
↓ 1 callers
Class
MultiKey
Multi-part key.
flare/base/option/key.h:60
↓ 1 callers
Class
NaiveMessage
flare/example/custom_protocol/naive_message.h:24
↓ 1 callers
Class
NonconstNoexceptOperatorCall
flare/base/function_view_test.cc:50
↓ 1 callers
Class
NonconstOperatorCall
flare/base/function_view_test.cc:46
↓ 1 callers
Class
NoncontiguousBuffer
flare/rpc/binlog/packet_desc.h:34
↓ 1 callers
Class
Object
flare/base/hazptr/entry.h:28
↓ 1 callers
Class
Options
flare/rpc/server.h:78
↓ 1 callers
Class
ProtoMessage
flare/rpc/protocol/protobuf/message.h:51
↓ 1 callers
Class
ProtoPacketDesc
Represents a protobuf-based packet. This type of `PacketDesc` is used by `rpc/protocol/protobuf/`. TODO(luobogao): Move it into `protobuf/packet_des
flare/rpc/binlog/packet_desc.h:84
↓ 1 callers
Class
QueryString
Represents a query string. This class treat `+` (plus sign) specially and decode it (if any) to whitespace. https://www.w3.org/Addressing/URL/uri-sp
flare/net/http/query_string.h:41
↓ 1 callers
Class
RedisCommandEqImpl
Matches entire Redis command.
flare/testing/redis_mock.h:91
↓ 1 callers
Class
RedisCommandOpEqImpl
Matches Redis command by operation.
flare/testing/redis_mock.h:105
↓ 1 callers
Class
RedisCommandUserMatchImpl
Matches Redis command using user specified callback.
flare/testing/redis_mock.h:119
↓ 1 callers
Class
RedisNull
Describes a Redis "null object".
flare/net/redis/redis_object.h:56
↓ 1 callers
Class
ReferencingKey
Represents a key whose value is read from an external string. Note that the external string is NOT expected to change (once referenced by this class)
flare/base/option/key.h:117
↓ 1 callers
Class
Rep
flare/base/experimental/byte_set.h:179
↓ 1 callers
Class
ReturnImpl
flare/testing/detail/gmock_actions.h:38
↓ 1 callers
Class
ServerGroup
When you need to host multiple servers in a single process, this class can be handy for managing them.
flare/rpc/server_group.h:38
↓ 1 callers
Class
ServiceMethodLocator
This class maps various IDs (or keys) used in a given protocol (FlareStd, QZone, ...) to its detailed information. Unless otherwise stated, methods o
flare/rpc/protocol/protobuf/service_method_locator.h:72
↓ 1 callers
Class
StreamCallGate
A "call gate" owns a connection, i.e., no load balance / fault tolerance / name resolving will be done here. Use `XxxChannel` instead if that's what y
flare/rpc/internal/stream_call_gate.h:58
↓ 1 callers
Class
TimeKeeper
Several components in `flare/base` need to do their bookkeeping periodically. So as not to introduce a timer manager for each of them, we use this cla
flare/base/internal/time_keeper.h:44
↓ 1 callers
Class
TimerKiller
DEPRECATED for now. It's design is fundamentally broken. We should wait for timer's fully termination in destructor of this class instead. This class
flare/fiber/timer.h:80
↓ 1 callers
Class
TypeIndex
Due to QoI issue in libstdc++, which uses `strcmp` for comparing `std::type_index`, we roll our own. Note our own does NOT support runtime type, only
flare/base/type_index.h:42
↓ 1 callers
Class
Uri
Represents a URI, as defined by RFC 3986.
flare/base/net/uri.h:32
↓ 1 callers
Class
Watchdog
`Watchdog` is responsible for monitoring healthiness of `EventLoop`s. If one (or more) `EventLoop` has not run for a sufficient long time, `Watchdog`
flare/io/detail/watchdog.h:37
↓ 1 callers
Class
arrival_token
flare/fiber/barrier.h:41
Class
A
flare/base/down_cast_test.cc:21
Class
A
flare/base/casting_benchmark.cc:34
Class
A
flare/base/internal/lazy_init_test.cc:21
Class
A
flare/base/internal/early_init_test.cc:21
Class
ABigPOD
flare/base/experimental/seqlocked_test.cc:28
Class
AbstractGatePool
flare/rpc/internal/stream_call_gate_pool.h:88
next →
1–100 of 1,233, ranked by callers