X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fentityownership%2Fselectionstrategy%2FAbstractEntityOwnerSelectionStrategy.java;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fentityownership%2Fselectionstrategy%2FAbstractEntityOwnerSelectionStrategy.java;h=0000000000000000000000000000000000000000;hb=f9ee2cce797cf12402dd55c406f3e270d7d2e20d;hp=a757f493b3b42a62b2a1c76b55dbfcba4da29459;hpb=44d274e8a4282ef859a35369c563e4963cf2185a;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/AbstractEntityOwnerSelectionStrategy.java b/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/AbstractEntityOwnerSelectionStrategy.java deleted file mode 100644 index a757f493b3..0000000000 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/entityownership/selectionstrategy/AbstractEntityOwnerSelectionStrategy.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.controller.cluster.datastore.entityownership.selectionstrategy; - -import java.util.Map; - -public abstract class AbstractEntityOwnerSelectionStrategy implements EntityOwnerSelectionStrategy { - - private final long selectionDelayInMillis; - private final Map initialStatistics; - - protected AbstractEntityOwnerSelectionStrategy(long selectionDelayInMillis, Map initialStatistics) { - this.selectionDelayInMillis = selectionDelayInMillis; - this.initialStatistics = initialStatistics; - } - - @Override - public long getSelectionDelayInMillis() { - return selectionDelayInMillis; - } - - public Map getInitialStatistics() { - return initialStatistics; - } -}