Skip to content

Commit 46eaf32

Browse files
author
chao.he
committed
<fix>[plugin-premium]: GPU/VM page keeps loading when shutting down or encountering errors in Zaku cluster.
Resolves: ZSTAC-80202 Change-Id: I7778676171646874706164777869707279776172
1 parent aa001d6 commit 46eaf32

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package org.zstack.header.zql;
2+
3+
import java.util.List;
4+
5+
/**
6+
* BeforeZQLReturnWithExtensionPoint is an extension point that allows plugins
7+
* to perform custom operations before calling zwatch.
8+
*/
9+
public interface BeforeCallZWatchExtensionPoint {
10+
/**
11+
* Check if this extension supports the given VO class
12+
* @param voClass the VO class to check
13+
* @return true if this extension supports the VO class, false otherwise
14+
*/
15+
boolean supports(Class<?> voClass);
16+
17+
/**
18+
* Perform custom operations before calling ZWatch, for example: health-check
19+
* @param voClass the VO class type
20+
* @param uuids the list of resource UUIDs to process
21+
*/
22+
void beforeCallZWatch(Class<?> voClass, List<String> uuids);
23+
}

0 commit comments

Comments
 (0)