Class TraceSwiftletImpl

java.lang.Object
com.swiftmq.swiftlet.Swiftlet
com.swiftmq.swiftlet.trace.TraceSwiftlet
com.swiftmq.impl.trace.standard.TraceSwiftletImpl

public class TraceSwiftletImpl extends com.swiftmq.swiftlet.trace.TraceSwiftlet
  • Field Summary

    Fields inherited from class com.swiftmq.swiftlet.trace.TraceSwiftlet

    SPACE_KERNEL, SPACE_PROTOCOL, SPACE_QUEUE, SPACE_SWIFTLET

    Fields inherited from class com.swiftmq.swiftlet.Swiftlet

    STATE_ACTIVE, STATE_INACTIVE, STATE_STANDBY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.swiftmq.swiftlet.trace.TraceSpace
    Abstract factory method to create a trace space.
    long
     
    int
     
    protected void
     
    protected void
    startup(com.swiftmq.mgmt.Configuration config)
     

    Methods inherited from class com.swiftmq.swiftlet.trace.TraceSwiftlet

    getTraceSpace, setTraceEnabled

    Methods inherited from class com.swiftmq.swiftlet.Swiftlet

    getName, getStartupTime, getState, isSnapshotAvailable, resume, setStartupTime, standby

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TraceSwiftletImpl

      public TraceSwiftletImpl()
  • Method Details

    • getMaxFileSize

      public long getMaxFileSize()
    • getNumberFileGenerations

      public int getNumberFileGenerations()
    • createTraceSpace

      protected com.swiftmq.swiftlet.trace.TraceSpace createTraceSpace(String spaceName)
      Abstract factory method to create a trace space. In any case it has to return a valid trace space object
      Specified by:
      createTraceSpace in class com.swiftmq.swiftlet.trace.TraceSwiftlet
      Parameters:
      spaceName - space name
      Returns:
      a valid trace space object
    • startup

      protected void startup(com.swiftmq.mgmt.Configuration config) throws com.swiftmq.swiftlet.SwiftletException
      Specified by:
      startup in class com.swiftmq.swiftlet.Swiftlet
      Throws:
      com.swiftmq.swiftlet.SwiftletException
    • shutdown

      protected void shutdown() throws com.swiftmq.swiftlet.SwiftletException
      Overrides:
      shutdown in class com.swiftmq.swiftlet.trace.TraceSwiftlet
      Throws:
      com.swiftmq.swiftlet.SwiftletException