}
@Override
public void insertMessagesToParticipant(ParticipantId participantId,
Map<MessageId, Message> msgMap) {
HelixLock lock = _lockProvider.getLock(_clusterId, Scope.participant(participantId));
boolean locked = lock.lock();
if (locked) {
try {
_participantAccessor.insertMessagesToParticipant(participantId, msgMap);
} finally {
lock.unlock();
}
}
return;
}