void setServiceData ( byte [ ] serviceData ) throws InternalLogException { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "setServiceData" , new java . lang . Object [ ] { RLSUtils . toHexString ( serviceData , RLSUtils . MAX_DISPLAY_BYTES ) , this } ) ; // Check that the files are available if ( ( _file1 == null ) || ( _file2 == null ) ) { if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "setServiceData" , "InternalLogException" ) ; throw new InternalLogException ( null ) ; } // Cache the service data buffer reference. This class logically 'owns' the buffer. _serviceData = serviceData ; // Pass the reference to the underlying log file objects. _file1 . setServiceData ( serviceData ) ; _file2 . setServiceData ( serviceData ) ; if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "setServiceData" ) ; }
Package access method to replace the existing service data with the new service data .