Bug: 5011
[vpnservice.git] / vpnmanager / vpnmanager-impl / src / main / java / org / opendaylight / vpnservice / VpnNotifyTask.java
1 /*
2  * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. 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.vpnservice;
10
11 import org.slf4j.Logger;
12 import org.slf4j.LoggerFactory;
13
14 class VpnNotifyTask implements Runnable{
15     private static final Logger logger = LoggerFactory.getLogger(VpnNotifyTask.class);
16
17     @Override
18     public void run() {
19         logger.debug("Notify Task is running for the task {}", this);
20         synchronized (this) {
21             notifyAll();
22         }
23     }
24
25 }