Пример #1
0
 /**
  * Clears the cache for a set of userIds and sends a notification for these users.
  *
  * @param userIds derived from the Subject, see{@link
  *     IAccessControlService#getUserIdOfCurrentSubject()}
  */
 public void clearCacheOfUserIds(Collection<String> userIds0) {
   Set<String> userIds = CollectionUtility.hashSetWithoutNullElements(userIds0);
   if (userIds.isEmpty()) {
     return;
   }
   synchronized (m_storeLock) {
     for (String userId : userIds) {
       if (userId != null) {
         m_store.remove(userId.toLowerCase());
       }
     }
   }
 }