Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
grpc._simple_stubs.ChannelCache Class Reference

Public Member Functions

def __init__ (self)
 
grpc.Channel get_channel (self, str target, Sequence[Tuple[str, str]] options, Optional[grpc.ChannelCredentials] channel_credentials, bool insecure, Optional[grpc.Compression] compression)
 

Static Public Member Functions

def get ()
 

Static Public Attributes

 Condition
 
 Event
 
 lock
 
 RLock
 

Private Member Functions

def _evict_locked (self, CacheKey key)
 
int _test_only_channel_count (self)
 

Static Private Member Functions

def _perform_evictions ()
 

Private Attributes

 _eviction_thread
 
 _mapping
 

Static Private Attributes

 _singleton = None
 

Detailed Description

Definition at line 72 of file _simple_stubs.py.

Constructor & Destructor Documentation

◆ __init__()

def grpc._simple_stubs.ChannelCache.__init__ (   self)

Definition at line 82 of file _simple_stubs.py.

Member Function Documentation

◆ _evict_locked()

def grpc._simple_stubs.ChannelCache._evict_locked (   self,
CacheKey  key 
)
private

Definition at line 96 of file _simple_stubs.py.

◆ _perform_evictions()

def grpc._simple_stubs.ChannelCache._perform_evictions ( )
staticprivate

Definition at line 104 of file _simple_stubs.py.

◆ _test_only_channel_count()

int grpc._simple_stubs.ChannelCache._test_only_channel_count (   self)
private

Definition at line 163 of file _simple_stubs.py.

◆ get()

def grpc._simple_stubs.ChannelCache.get ( )
static

Definition at line 89 of file _simple_stubs.py.

◆ get_channel()

grpc.Channel grpc._simple_stubs.ChannelCache.get_channel (   self,
str  target,
Sequence[Tuple[str, str]]  options,
Optional[grpc.ChannelCredentials channel_credentials,
bool  insecure,
Optional[grpc.Compression compression 
)

Definition at line 130 of file _simple_stubs.py.

Member Data Documentation

◆ _eviction_thread

grpc._simple_stubs.ChannelCache._eviction_thread
private

Definition at line 84 of file _simple_stubs.py.

◆ _mapping

grpc._simple_stubs.ChannelCache._mapping
private

Definition at line 83 of file _simple_stubs.py.

◆ _singleton

grpc._simple_stubs.ChannelCache._singleton = None
staticprivate

Definition at line 74 of file _simple_stubs.py.

◆ Condition

grpc._simple_stubs.ChannelCache.Condition
static

Definition at line 76 of file _simple_stubs.py.

◆ Event

grpc._simple_stubs.ChannelCache.Event
static

Definition at line 77 of file _simple_stubs.py.

◆ lock

grpc._simple_stubs.ChannelCache.lock
static

Definition at line 76 of file _simple_stubs.py.

◆ RLock

grpc._simple_stubs.ChannelCache.RLock
static

Definition at line 75 of file _simple_stubs.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:32