2 * Copyright (c) 2015 Brocade Communications Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.mdsal.eos.common.api;
10 import org.opendaylight.yangtools.concepts.ObjectRegistration;
11 import org.opendaylight.yangtools.concepts.Path;
14 * An interface that records a request to register a Candidate for a given Entity. Calling close on the
15 * registration will remove the Candidate from any future ownership considerations for that Entity.
17 * @author Thomas Pantelis
19 * @param <P> the instance identifier type
20 * @param <E> the GenericEntity type
22 public interface GenericEntityOwnershipCandidateRegistration<P extends Path<P>, E extends GenericEntity<P>>
23 extends ObjectRegistration<E> {
26 * Unregister the candidate