Merge "Bug-835:Reserve ports should be logical ports"
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / TransactionChainProxy.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.controller.cluster.datastore;
10
11 import org.opendaylight.controller.sal.core.spi.data.DOMStoreReadTransaction;
12 import org.opendaylight.controller.sal.core.spi.data.DOMStoreReadWriteTransaction;
13 import org.opendaylight.controller.sal.core.spi.data.DOMStoreTransactionChain;
14 import org.opendaylight.controller.sal.core.spi.data.DOMStoreWriteTransaction;
15
16 /**
17  * TransactionChainProxy acts as a proxy for a DOMStoreTransactionChain created on a remote shard
18  */
19 public class TransactionChainProxy implements DOMStoreTransactionChain{
20     @Override
21     public DOMStoreReadTransaction newReadOnlyTransaction() {
22         throw new UnsupportedOperationException("newReadOnlyTransaction");
23     }
24
25     @Override
26     public DOMStoreReadWriteTransaction newReadWriteTransaction() {
27         throw new UnsupportedOperationException("newReadWriteTransaction");
28     }
29
30     @Override
31     public DOMStoreWriteTransaction newWriteOnlyTransaction() {
32         throw new UnsupportedOperationException("newWriteOnlyTransaction");
33     }
34
35     @Override
36     public void close() {
37         throw new UnsupportedOperationException("close");
38     }
39 }