return success;
}
@Override
public <T extends HelixProperty> boolean updateProperty(PropertyKey key, T value) {
PropertyType type = key.getType();
String path = key.getPath();
int options = constructOptions(type);
boolean success = false;
switch (type) {
case CURRENTSTATES:
success = _groupCommit.commit(_baseDataAccessor, options, path, value.getRecord());
break;
default:
if (type.usePropertyTransferServer()) {
if (_zkPropertyTransferSvcUrl != null && _zkPropertyTransferClient != null) {
ZNRecordUpdate update = new ZNRecordUpdate(path, OpCode.UPDATE, value.getRecord());
_zkPropertyTransferClient.enqueueZNRecordUpdate(update, _zkPropertyTransferSvcUrl);
return true;