Constant Field Values

Contents

org.summerboot.*

  • org.summerboot.jexpress.boot.instrumentation.HealthMonitor
    Modifier and Type
    Constant Field
    Value
    public static final String
    "\tSelf Inspection Result: "
  • org.summerboot.jexpress.integration.cache.BootCache_RedisImple
    Modifier and Type
    Constant Field
    Value
    protected static final String
    "local order = tonumber(ARGV[1])\nif not order or order < 1 then return 0 end\nlocal vals = redis.call(\"HMGET\", KEYS[1], \"Status\", \"Total\", \"Limit\", \"Booked\")\nlocal status = tonumber(vals[1])\nif not status or status < 1 then return 0 end\nlocal total = tonumber(vals[2])\nlocal limit = tonumber(vals[3])\nlocal booked = tonumber(vals[4])\nif not total or not limit or not booked then return 0 end\nif order <= limit and booked + order <= total then\n redis.call(\"HINCRBY\", KEYS[1], \"Booked\", order)\n return order\nend\nreturn 0"
    protected static final String
    "local key = KEYS[1]\nlocal initBurst = tonumber(ARGV[1])\nlocal maxBurstPerPeriod = tonumber(ARGV[2])\nlocal period = tonumber(ARGV[3])\nlocal quota = ARGV[4]\nreturn redis.call(\'CL.THROTTLE\', key, initBurst, maxBurstPerPeriod, period, quota)"
    protected static final String
    "if redis.call(\'get\', KEYS[1]) == ARGV[1] then return redis.call(\'del\', KEYS[1]) else return 0 end"
    protected static final String
    "OK"
  • org.summerboot.jexpress.integration.cache.RedisConfig
    Modifier and Type
    Constant Field
    Value
    protected static final String
    "primary"
  • org.summerboot.jexpress.integration.cache.domain.FlashSale
    Modifier and Type
    Constant Field
    Value
    public static final String
    "Booked"
    public static final String
    "Limit"
    public static final String
    "Status"
    public static final String
    "Total"
  • org.summerboot.jexpress.integration.ldap.LdapAgent
    Modifier and Type
    Constant Field
    Value
    public static final String
    "dn"
    protected static final int
    4