/** {@inheritDoc} */ public void disable(String uid) { assertFeatureExist(uid); featuresMap.get(uid).disable(); }
/** {@inheritDoc} */ @Override public void disableGroup(String groupName) { Map < String, Feature > features = readGroup(groupName); for (Map.Entry<String,Feature> uid : features.entrySet()) { uid.getValue().disable(); update(uid.getValue()); } }
/** {@inheritDoc} */ @Override public void disableGroup(String groupName) { Map < String, Feature > features = readGroup(groupName); for (Map.Entry<String,Feature> uid : features.entrySet()) { uid.getValue().disable(); update(uid.getValue()); } }
/** {@inheritDoc} */ @Override public void disableGroup(String groupName) { Map < String, Feature > features = readGroup(groupName); for (Map.Entry<String,Feature> uid : features.entrySet()) { uid.getValue().disable(); update(uid.getValue()); } }
/** {@inheritDoc} */ @Override public void disableGroup(String groupName) { Map < String, Feature > features = readGroup(groupName); for (Map.Entry<String,Feature> uid : features.entrySet()) { uid.getValue().disable(); update(uid.getValue()); } }
/** {@inheritDoc} */ @Override public void disable(String uid) { // Read from redis, feature not found if no present Feature f = read(uid); // Update within Object f.disable(); // Serialization and update key, update TTL update(f); }
/** {@inheritDoc} */ @Override public void disable(String uid) { // Read from redis, feature not found if no present Feature f = read(uid); // Update within Object f.disable(); // Serialization and update key, update TTL update(f); }
/** {@inheritDoc} */ @Override public void disable(String uid) { // Read from redis, feature not found if no present Feature f = read(uid); // Update within Object f.disable(); // Serialization and update key, update TTL update(f); }
/** {@inheritDoc} */ @Override public void disable(String uid) { // Read from redis, feature not found if no present Feature f = read(uid); // Update within Object f.disable(); // Serialization and update key, update TTL update(f); }
/** {@inheritDoc} */ @Override public void disable(String uid) { assertFeatureExist(uid); Feature f1 = FEATURE_MAPPER.fromStore(getFeatureBucket().get(uid)); f1.disable(); update(f1); }