コード例 #1
0
ファイル: NamedProfileCache.java プロジェクト: kaveh81/TestNG
 /**
  * Associate bi with profileName. bi is only referenced through a soft reference so don't rely on
  * the cache to keep it around. If the map no longer contains our profileName it was probably
  * cleared or flushed since we were put on the hook for it, so in that case we will do nothing.
  */
 public synchronized void put(String profileName, ICCColorSpaceExt bi) {
   super.putImpl(profileName, bi);
 }
コード例 #2
0
ファイル: NamedProfileCache.java プロジェクト: kaveh81/TestNG
 /**
  * Clear the entry for String. This is the easiest way to 'get off the hook'. if you didn't indend
  * to get on it.
  */
 public synchronized void clear(String profileName) {
   super.clearImpl(profileName);
 }