class EntityOwnershipShard extends Shard {

    private void onUnregisterCandidateLocal(final UnregisterCandidateLocal unregisterCandidate) {
        LOG.debug("{}: onUnregisterCandidateLocal: {}", persistenceId(), unregisterCandidate);

        DOMEntity entity = unregisterCandidate.getEntity();
        YangInstanceIdentifier candidatePath = candidatePath(entity.getType(), entity.getIdentifier(),
                localMemberName.getName());
        commitCoordinator.commitModification(new DeleteModification(candidatePath), this);

        getSender().tell(SuccessReply.INSTANCE, getSelf());
    }

    protected  EntityOwnershipShard(final Builder builder);

}