This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 126a489 [FLINK-12914][runtime] Remove legacy InstanceListener
126a489 is described below
commit 126a489e20f4743c361bbf2f2b4a2c890f8026ab
Author: leesf <[email protected]>
AuthorDate: Wed Jun 26 20:14:48 2019 +0800
[FLINK-12914][runtime] Remove legacy InstanceListener
---
.../flink/runtime/instance/InstanceListener.java | 40 ----------------------
1 file changed, 40 deletions(-)
diff --git
a/flink-runtime/src/main/java/org/apache/flink/runtime/instance/InstanceListener.java
b/flink-runtime/src/main/java/org/apache/flink/runtime/instance/InstanceListener.java
deleted file mode 100644
index 7ba58e1e..0000000
---
a/flink-runtime/src/main/java/org/apache/flink/runtime/instance/InstanceListener.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you 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.
- */
-
-package org.apache.flink.runtime.instance;
-
-/**
- * Classes implementing the InstanceListener interface can be notified about
- * the availability disappearance of instances.
- */
-public interface InstanceListener {
-
- /**
- * Called when a new instance becomes available.
- *
- * @param instance The instance that became available.
- */
- void newInstanceAvailable(Instance instance);
-
- /**
- * Called when an instance died.
- *
- * @param instance The instance that died.
- */
- void instanceDied(Instance instance);
-}