@ -43,7 +43,7 @@ public class DesignerAppUtils {
private static final int DEFAULT_MAX_CACHE_SIZE = 50 ;
private static final int DEFAULT_MAX_CACHE_SIZE = 50 ;
private static final int DEFAULT_CONCURRENCY_LEVEL = 8 ;
private static final int DEFAULT_CONCURRENCY_LEVEL = 8 ;
private static final long DEFAULT_EXPIRE_HOURS = 1 ;
private static final long DEFAULT_EXPIRE_HOURS = 1 ;
private static boolean enablePluginTipDialog = true ;
private volatile static boolean enablePluginTipDialog = true ;
private static final Cache < String , Multimap < String , PluginMarkerAdapter > > ERROR_CACHE = CacheBuilder . newBuilder ( )
private static final Cache < String , Multimap < String , PluginMarkerAdapter > > ERROR_CACHE = CacheBuilder . newBuilder ( )
. maximumSize ( DEFAULT_MAX_CACHE_SIZE )
. maximumSize ( DEFAULT_MAX_CACHE_SIZE )
@ -52,7 +52,7 @@ public class DesignerAppUtils {
. build ( ) ;
. build ( ) ;
public static void initPluginAllActiveListener ( ) {
public static void initPluginAllActiveListener ( ) {
PluginListenerRegistration . getInstance ( ) . listen ( PluginEventType . BeforeAllActive , new PluginEventListener ( ) {
PluginListenerRegistration . getInstance ( ) . listen ( PluginEventType . BeforeAllStop , new PluginEventListener ( ) {
@Override
@Override
public void on ( PluginEvent event ) {
public void on ( PluginEvent event ) {
enablePluginTipDialog = false ;
enablePluginTipDialog = false ;