@Override public void prePut(ObserverContext<RegionCoprocessorEnvironment> e, Put put, WALEdit edit, Durability durability) throws IOException { // check the put against the stored constraints for (Constraint c : constraints) { c.check(put); } // if we made it here, then the Put is valid }
@Override public void prePut(ObserverContext<RegionCoprocessorEnvironment> e, Put put, WALEdit edit, boolean writeToWAL) throws IOException { // check the put against the stored constraints for (Constraint c : constraints) { c.check(put); } // if we made it here, then the Put is valid } }
@Override public void prePut(ObserverContext<RegionCoprocessorEnvironment> e, Put put, WALEdit edit, Durability durability) throws IOException { // check the put against the stored constraints for (Constraint c : constraints) { c.check(put); } // if we made it here, then the Put is valid } }