com.ibm.websphere.interrupt

Interface InterruptibleThreadInfrastructure



  • public interface InterruptibleThreadInfrastructure
    A WebSphere programming model extension which allows connectors or application components register an object that may be driven if the thread which registered the object exceeds a time threshold defined by the application server.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String ITI_LOC
      The location in JNDI where this object can be obtained.
    • Field Detail

      • ITI_LOC

        static final java.lang.String ITI_LOC
        The location in JNDI where this object can be obtained. The Liberty feature jndi-1.0 needs to be enabled to use JNDI to lookup this object. This object can also be obtained by resource injection as follows:
         @Resource(InterruptibleThreadInfrastructure.ITI_LOC)
         private InterruptibleThreadInfrastructure _iti;
         
        See Also:
        Constant Field Values
    • Method Detail

      • isODISupported

        boolean isODISupported()
        Indicates if the InterruptibleThreadInfrastructure function is supported within the current runtime environment.
        Returns:
        true if InterruptObject registration is supported on the current thread, false if InterruptObject registration is not supported on the current thread.