public void setLiveTime ( long liveTime ) { writeLock . lock ( ) ; try { this . liveTime = liveTime ; } finally { writeLock . unlock ( ) ; } LOG . info ( name + " : set liveTime=" + liveTime + "ms. New value will be applied to items cached from this moment." ) ; }
Set liveTime of newly cached items .