/** * If we are low on tags, send this many. * @return default 0, meaning unset, use the SKM config (default 40) */ public static int getTagsToSend(int flags) { int exp = (flags & TAGS_SEND_MASK); return codeToVal(exp, TAGS_SEND); }
/** * Low tag threshold. If less than this many, send more. * @return default 0, meaning unset, use the SKM config (default 30) */ public static int getTagThreshold(int flags) { int exp = (flags & TAGS_REQD_MASK) >> 4; return codeToVal(exp, TAGS_REQD); }