Class RedisChannel

java.lang.Object
net.swofty.redisapi.api.RedisChannel

public class RedisChannel extends Object
  • Field Details

    • receiveEvent

      public Consumer<RedisMessagingReceiveEvent> receiveEvent
      Consumer that contains the function ran when a message is received on this channel
    • receiveInterface

      public Class<? extends RedisMessagingReceiveInterface> receiveInterface
      Class that contains the function ran when a message is received on this channel
    • functionType

      public ChannelFunctionType functionType
      Used to determine what type of function is being used to receive messages.
    • channelName

      public String channelName
      Name of the channel that messages are sent through
    • timestamp

      public Long timestamp
      Timestamp in Unix milliseconds of when the channel last had a message received through it
  • Constructor Details