public static enum SourceRconMessenger.Metadata.Stats extends Enum<SourceRconMessenger.Metadata.Stats>
Enum Constant and Description |
---|
ACQUIRE_COUNT |
LAST_ACQUIRE_MILLIS |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(io.netty.channel.Channel channel) |
<V extends Number> |
increment(io.netty.channel.Channel channel) |
<V> io.netty.util.AttributeKey<V> |
key() |
Class<?> |
type() |
<V> V |
value(io.netty.channel.Channel channel) |
<V> void |
value(io.netty.channel.Channel channel,
V value) |
static SourceRconMessenger.Metadata.Stats |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceRconMessenger.Metadata.Stats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceRconMessenger.Metadata.Stats ACQUIRE_COUNT
public static final SourceRconMessenger.Metadata.Stats LAST_ACQUIRE_MILLIS
public static SourceRconMessenger.Metadata.Stats[] values()
for (SourceRconMessenger.Metadata.Stats c : SourceRconMessenger.Metadata.Stats.values()) System.out.println(c);
public static SourceRconMessenger.Metadata.Stats valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic <V> V value(io.netty.channel.Channel channel)
public <V> io.netty.util.AttributeKey<V> key()
public <V> void value(io.netty.channel.Channel channel, V value)
public boolean exists(io.netty.channel.Channel channel)
public <V extends Number> V increment(io.netty.channel.Channel channel)
public Class<?> type()
Copyright © 2016–2024. All rights reserved.