static boolean isRefreshNotificationRegistered(NotificationListener client,RefreshNotificationType type){
  boolean isRegistered=false;
  Map<RefreshNotificationType,Integer> notifications=null;
synchronized (refreshClients) {
    notifications=(Map<RefreshNotificationType,Integer>)refreshClients.get(client);
  }
  if (notifications != null) {
    Integer timerNotificationId=notifications.get(type);
    if (timerNotificationId != null) {
      isRegistered=true;
    }
  }
  return isRegistered;
}

static boolean isRefreshNotificationRegistered ( NotificationListener client , RefreshNotificationType type ) { boolean isRegistered = false ; Map < RefreshNotificationType , Integer > notifications = null ; synchronized ( refreshClients ) { notifications = ( Map < RefreshNotificationType , Integer > ) refreshClients . get ( client ) ; } if ( notifications != null ) { Integer timerNotificationId = notifications . get ( type ) ; if ( timerNotificationId != null ) { isRegistered = true ; } } return isRegistered ; }
verifies a refresh notification for the specified client mbean . if notification is not registered , then returns a false
