Class RedisConfig

java.lang.Object
dev.ua.theroer.magicutils.messaging.redis.RedisConfig

@ConfigFile("messaging.{ext}") @ConfigReloadable(sections="redis") @Comment("MagicUtils cross-server messaging configuration") public class RedisConfig extends Object
Configuration for the optional Redis messaging transport.

Stored in messaging.{ext}. When enabled is false the messaging service falls back to the default plugin-messaging transport, so a network can run entirely without Redis.

  • Constructor Details

    • RedisConfig

      public RedisConfig()
      Creates a config instance with default values.