Class PreparedRedisMessage
- java.lang.Object
-
- cc.carm.plugin.mineredis.api.message.PreparedRedisMessage
-
public class PreparedRedisMessage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PreparedRedisMessage(@NotNull java.lang.String channel, @NotNull com.google.common.io.ByteArrayDataOutput data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
channel()
com.google.common.io.ByteArrayDataOutput
data()
static PreparedRedisMessage
of(@NotNull java.lang.String channel, @NotNull com.google.common.io.ByteArrayDataOutput data)
static PreparedRedisMessage
of(@NotNull java.lang.String channel, @NotNull java.lang.Object... values)
static PreparedRedisMessage
of(@NotNull java.lang.String channel, @NotNull java.util.function.Consumer<com.google.common.io.ByteArrayDataOutput> data)
void
publish()
void
publishAsync()
-
-
-
Method Detail
-
of
public static PreparedRedisMessage of(@NotNull @NotNull java.lang.String channel, @NotNull @NotNull com.google.common.io.ByteArrayDataOutput data)
-
of
public static PreparedRedisMessage of(@NotNull @NotNull java.lang.String channel, @NotNull @NotNull java.util.function.Consumer<com.google.common.io.ByteArrayDataOutput> data)
-
of
public static PreparedRedisMessage of(@NotNull @NotNull java.lang.String channel, @NotNull @NotNull java.lang.Object... values)
-
channel
public java.lang.String channel()
-
data
public com.google.common.io.ByteArrayDataOutput data()
-
publish
public void publish()
-
publishAsync
public void publishAsync()
-
-