Modifier and Type | Class and Description |
---|---|
static class |
InternalChannelz.ChannelStats
A data class to represent a channel's stats.
|
static class |
InternalChannelz.ChannelTrace |
static class |
InternalChannelz.OtherSecurity |
static class |
InternalChannelz.RootChannelList |
static class |
InternalChannelz.Security |
static class |
InternalChannelz.ServerList |
static class |
InternalChannelz.ServerSocketsList |
static class |
InternalChannelz.ServerStats |
static class |
InternalChannelz.SocketOptions |
static class |
InternalChannelz.SocketStats |
static class |
InternalChannelz.TcpInfo |
static class |
InternalChannelz.Tls |
static class |
InternalChannelz.TransportStats
A data class to represent transport stats.
|
Constructor and Description |
---|
InternalChannelz() |
public static InternalChannelz instance()
public void addServer(InternalInstrumented<InternalChannelz.ServerStats> server)
public void addSubchannel(InternalInstrumented<InternalChannelz.ChannelStats> subchannel)
public void addRootChannel(InternalInstrumented<InternalChannelz.ChannelStats> rootChannel)
public void addClientSocket(InternalInstrumented<InternalChannelz.SocketStats> socket)
public void addListenSocket(InternalInstrumented<InternalChannelz.SocketStats> socket)
public void addServerSocket(InternalInstrumented<InternalChannelz.ServerStats> server, InternalInstrumented<InternalChannelz.SocketStats> socket)
public void removeServer(InternalInstrumented<InternalChannelz.ServerStats> server)
public void removeSubchannel(InternalInstrumented<InternalChannelz.ChannelStats> subchannel)
public void removeRootChannel(InternalInstrumented<InternalChannelz.ChannelStats> channel)
public void removeClientSocket(InternalInstrumented<InternalChannelz.SocketStats> socket)
public void removeListenSocket(InternalInstrumented<InternalChannelz.SocketStats> socket)
public void removeServerSocket(InternalInstrumented<InternalChannelz.ServerStats> server, InternalInstrumented<InternalChannelz.SocketStats> socket)
public InternalChannelz.RootChannelList getRootChannels(long fromId, int maxPageSize)
InternalChannelz.RootChannelList
.@Nullable public InternalInstrumented<InternalChannelz.ChannelStats> getChannel(long id)
@Nullable public InternalInstrumented<InternalChannelz.ChannelStats> getSubchannel(long id)
public InternalChannelz.ServerList getServers(long fromId, int maxPageSize)
@Nullable public InternalChannelz.ServerSocketsList getServerSockets(long serverId, long fromId, int maxPageSize)
@Nullable public InternalInstrumented<InternalChannelz.SocketStats> getSocket(long id)
public boolean containsServer(InternalLogId serverRef)
public boolean containsSubchannel(InternalLogId subchannelRef)
public InternalInstrumented<InternalChannelz.ChannelStats> getRootChannel(long id)
public boolean containsClientSocket(InternalLogId transportRef)
public static long id(InternalWithLogId withLogId)
InternalLogId
to return a long
.Copyright © 2018. All rights reserved.