public void setCacheLocation ( String cacheLocation ) { if ( cacheLocation . equals ( this . cacheLocation ) ) { return ; //no change } // update location domainsFileLock . writeLock ( ) . lock ( ) ; logger . trace ( "LOCK writelock" ) ; this . cacheLocation = cacheLocation ; logger . trace ( "UNLOCK writelock" ) ; domainsFileLock . writeLock ( ) . unlock ( ) ; }
Set an alternate download location for files