54. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 12/5/2017 12:06:35 PM Central Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

54.1 Files compared

# Location File Last Modified
1 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\CacheImpl\main\src\java\gov\va\med\imaging\storage\cache\impl PersistentInstanceSet.java Mon Dec 4 21:35:18 2017 UTC
2 IV-eHMP_CIF.zip\IMAG_Source\VISA\Java\CacheImpl\main\src\java\gov\va\med\imaging\storage\cache\impl PersistentInstanceSet.java Mon Dec 4 21:57:35 2017 UTC

54.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 126
Changed 1 2
Inserted 0 0
Removed 0 0

54.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

54.4 Active regular expressions

No regular expressions were active.

54.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.i maging.sto rage.cache .impl;
  5  
  6   import gov .va.med.im aging.stor age.cache. Instance;
  7   import gov .va.med.im aging.stor age.cache. InstanceBy teChannelF actory;
  8   import gov .va.med.im aging.stor age.cache. exceptions .CacheExce ption;
  9  
  10   import jav a.lang.ref .SoftRefer ence;
  11   import jav a.util.Set ;
  12  
  13   import org .apache.lo gging.log4 j.LogManag er;
  14   import org .apache.lo gging.log4 j.Logger;
  15  
  16   /**
  17    * @author         
BECKEC
  18    *
  19    * An abst ract class  that repr esents a S et of Inst ance insta nces in a  cache impl ementation
  20    * that pe rsistent s tores cach e data.  G roup imple mentations  have
  21    * sets of  Instance  instances.   
  22    * This cl ass makes  the manage ment of th ose instan ces easier .
  23    *
  24    * Known D erivations :
  25    * @see go v.va.med.i maging.sto rage.cache .impl.file system.Fil eSystemIns tanceSet
  26    * 
  27    * Derivat ions must  implement  the follow ing method s:
  28    * 
  29    * protect ed abstrac t Instance  getOrCrea te(String  name, bool ean create
  30    * throws  CacheExcep tion;
  31    * 
  32    * protect ed abstrac t void syn chronizeCh ildren()
  33    * throws  CacheExcep tion;
  34    */
  35   public abs tract clas s Persiste ntInstance Set 
  36   extends Pe rsistentSe t<Instance >
  37   {
  38           pr ivate Logg er log = L ogManager. getLogger( this.getCl ass());
  39           
  40           pr otected Pe rsistentIn stanceSet(
  41                    Inst anceByteCh annelFacto ry byteCha nnelFactor y, 
  42                    int  secondsRea dWaitsForW riteComple tion, 
  43                    bool ean setMod ificationT imeOnRead)
  44           {
  45                    supe r(byteChan nelFactory , secondsR eadWaitsFo rWriteComp letion, se tModificat ionTimeOnR ead);
  46           }
  47  
  48           pr otected Lo gger getLo gger(){ret urn this.l og;}
  49           
  50           //  ========= ========== ========== ========== ========== ========== ========== ========== ========== ========== ======
  51           //  Abstract  overrides  of methods  in the pa rent templ ated abstr act class,  Persisten tSet.
  52           //  Having th ese just m akes the d erived cla sses a bit  more clea r in their  derivatio n.
  53           //  These met hods are n ot strictl y necessar y as they  just overr ide the te mplated me thods in
  54           //  the super class.
  55           //  ========= ========== ========== ========== ========== ========== ========== ========== ========== ========== ======
  56           
  57           @O verride
  58           pr otected ab stract Ins tance getO rCreate(St ring name,  boolean c reate) 
  59           th rows Cache Exception;
  60           
  61           @O verride
  62           pr otected ab stract voi d internal Synchroniz eChildren( )
  63           th rows Cache Exception;
  64   }