void function ( final long arg0 , final InputStream arg1 ) { getWriteLock ( ) . lock ( ) ; try { m_config = CastorUtils . unmarshal ( SnmpAssetAdapterConfiguration . class , arg1 ) ; m_lastModified = arg0 ; } finally { getWriteLock ( ) . unlock ( ) ; } }
synchronized so that we update the timestamp of the file and the contents simultaneously . concode_field_sep Lock m_writeLock concode_elem_sep long m_lastModified concode_elem_sep ReadWriteLock m_globalLock concode_elem_sep SnmpAssetAdapterConfiguration m_config concode_elem_sep Lock m_readLock concode_field_sep Lock getWriteLock concode_elem_sep SnmpAssetAdapterConfiguration getConfiguration concode_elem_sep Lock getReadLock concode_elem_sep void update concode_elem_sep AssetField[] getAssetFieldsForAddress