Interface RepositoryExporter
- All Known Implementing Classes:
com.ibm.ws.logging.hpel.impl.AbstractHPELRepositoryExporter
,CompatibilityRepositoryExporter
,CompatibilityZipRepositoryExporter
,HPELRepositoryExporter
,HPELZipRepositoryExporter
public interface RepositoryExporter
Interface for exporting read repository records into another repository.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Finishes writing exported repository and closes all open resources.void
storeHeader
(Properties header) Writes header information into exported repository.void
storeHeader
(Properties header, String subProcess) Writes header information into exported sub process repository.void
storeRecord
(RepositoryLogRecord record) Writes log record into exported repository.
-
Method Details
-
storeHeader
Writes header information into exported repository. This call starts export of a new server instance.- Parameters:
header
- Header information related to all consequent log records.
-
storeHeader
Writes header information into exported sub process repository. This call starts export of a new sub process instance. It should be called after all records of the main process were exported withstoreRecord(RepositoryLogRecord)
.- Parameters:
header
- Header information related to all consequent log records.subProcess
- String identifier of the sub process. Use the key corresponding to the sub process used inServerInstanceLogRecordList.getChildren()
map.
-
storeRecord
Writes log record into exported repository. Calling this method beforestoreHeader(Properties)
will result inIllegalStateException
being thrown.- Parameters:
record
- log record to be exported.
-
close
void close()Finishes writing exported repository and closes all open resources. Calling eitherstoreHeader(Properties)
orstoreRecord(RepositoryLogRecord)
after callingclose()
will result inIllegalStateException
being thrown.
-