Skip to content

Commit 62e8c17

Browse files
author
gitlab
committed
Merge branch 'fix-ZSTAC-80202-zaku-loading@@2' into '5.5.12'
<fix>[plugin-premium]: GPU/VM page keeps loading when shutting down or... See merge request zstackio/zstack!9014
2 parents 1f6e0b3 + ee3f541 commit 62e8c17

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

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+
* BeforeCallZWatchExtensionPoint 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)