private void updateTraceConfiguration ( TraceState state ) { if ( DIRECTORY_TYPE . equals ( state . ivStorageType ) ) { LogRepositoryComponent . setTraceDirectoryDestination ( state . ivDataDirectory , state . ivPurgeBySizeEnabled , state . ivPurgeByTimeEnabled , state . ivFileSwitchEnabled , state . ivBufferingEnabled , state . ivPurgeMaxSize * ONE_MEG , state . ivPurgeMinTime * MILLIS_IN_HOURS , state . ivFileSwitchTime , state . ivOutOfSpaceAction ) ; } else if ( MEMORYBUFFER_TYPE . equals ( state . ivStorageType ) ) { LogRepositoryComponent . setTraceMemoryDestination ( state . ivDataDirectory , state . ivMemoryBufferSize * ONE_MEG ) ; } else { throw new IllegalArgumentException ( "Unknown value for trace storage type: " + state . ivStorageType ) ; } }
update all info for Trace Repository