| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | /* |
||
| 28 | public interface PreloadableService extends InitializableService { |
||
| 29 | @Override |
||
| 30 | 1 | public default void init(Logger logger) {} |
|
| 31 | |||
| 32 | /** |
||
| 33 | * Preload the service |
||
| 34 | * This method is only called if preload is enabled for the current service |
||
| 35 | */ |
||
| 36 | 1 | public default void preload(Logger logger) {} |
|
| 37 | |||
| 38 | /** |
||
| 39 | * Get the service name |
||
| 40 | * This name is used for enable or not the preloading |
||
| 41 | */ |
||
| 42 | public String name(); |
||
| 43 | } |
||
| 44 |