TIBCO Enterprise Message Service 4.3.0 .NET Administration Class Library

Admin.Compact Method 

Compact one of the server's store files until either no more compaction can be done or timeout seconds have elapsed, whichever occurs first.

public bool Compact(
   Store store,
   long timeout
);

Parameters

store
the store file to compact, either Sync or Async
timeout
time in seconds allowed for compaction or 0 for no timeout.

Return Value

true if the store file was fully compacted before the timeout expired, false otherwise.

Exceptions

Exception Type Condition
AdminException if not authorized or an error occurred.
ArgumentException if store is invalid

See Also

Admin Class | TIBCO.EMS.ADMIN Namespace