summaryrefslogtreecommitdiffstats
path: root/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java
diff options
context:
space:
mode:
Diffstat (limited to 'api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java')
-rw-r--r--api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java40
1 files changed, 0 insertions, 40 deletions
diff --git a/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java b/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java
deleted file mode 100644
index 7148f30e..00000000
--- a/api-server-pool-state-control/src/main/java/org/onap/policy/drools/control/api/DroolsPdpStateControlApi.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*-
- * ============LICENSE_START=======================================================
- * drools-pdp-state-control-api
- * ================================================================================
- * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-package org.onap.policy.drools.control.api;
-
-import org.onap.policy.common.utils.services.OrderedService;
-
-public interface DroolsPdpStateControlApi extends OrderedService {
-
- /**
- * This method is called when wanting to interrupt the operation of the
- * drools pdp. It locks the endpoints, stops the message processing
- * and removes the instance of the drools pdp from the pool.
- */
- void shutdown();
-
- /**
- * This method is called when wanting to resume the operation of the
- * drools pdp. It unlocks the endpoints, resumes message processing
- * and adds the instance of the drools pdp to the pool.
- */
- void restart();
-}