Codota Logo
UserActivity.setTimeout
Code IndexAdd Codota to your IDE (free)

How to use
setTimeout
method
in
com.arjuna.mw.wsas.UserActivity

Best Java code snippets using com.arjuna.mw.wsas.UserActivity.setTimeout (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Set the timeout to be associated with all subsequently created
 * activities. A default value of 0 is automatically associated with
 * each thread and this means that no application specified timeout is
 * set for activities.
 *
 * @param timeout The timeout (in seconds) to associate with all
 * subsequently created activities. This value must be 0 or greater.
 *
 * @exception InvalidTimeoutException Thrown if the timeout value provided
 * is negative, too large, or if timeouts are simply not supported by
 * the activity implementation.
 * @exception SystemException Thrown if any other error occurs.
 */
public void setTimeout (int timeout) throws InvalidTimeoutException, SystemException
{
UserActivityFactory.userActivity().setTimeout(timeout);
}    

origin: org.jboss.jbossts/jbossxts

/**
 * Set the timeout to be associated with all subsequently created
 * activities. A default value of 0 is automatically associated with
 * each thread and this means that no application specified timeout is
 * set for activities.
 *
 * @param timeout The timeout (in seconds) to associate with all
 * subsequently created activities. This value must be 0 or greater.
 *
 * @exception InvalidTimeoutException Thrown if the timeout value provided
 * is negative, too large, or if timeouts are simply not supported by
 * the activity implementation.
 * @exception SystemException Thrown if any other error occurs.
 */
public void setTimeout (int timeout) throws InvalidTimeoutException, SystemException
{
UserActivityFactory.userActivity().setTimeout(timeout);
}    

origin: org.jboss.jbossts/jbossxts

/**
 * Set the timeout to be associated with all subsequently created
 * activities. A default value of 0 is automatically associated with each
 * thread and this means that no application specified timeout is set for
 * activities.
 * 
 * @param int
 *            timeout The timeout (in seconds) to associate with all
 *            subsequently created activities. This value must be 0 or
 *            greater.
 * 
 * @exception InvalidTimeoutException
 *                Thrown if the timeout value provided is negative, too
 *                large, or if timeouts are simply not supported by the
 *                activity implementation.
 * @exception SystemException
 *                Thrown if any other error occurs.
 */
public void setTimeout (int timeout) throws InvalidTimeoutException,
    SystemException
{
  UserActivityFactory.userActivity().setTimeout(timeout);
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Set the timeout to be associated with all subsequently created
 * activities. A default value of 0 is automatically associated with each
 * thread and this means that no application specified timeout is set for
 * activities.
 * 
 * @param int
 *            timeout The timeout (in seconds) to associate with all
 *            subsequently created activities. This value must be 0 or
 *            greater.
 * 
 * @exception InvalidTimeoutException
 *                Thrown if the timeout value provided is negative, too
 *                large, or if timeouts are simply not supported by the
 *                activity implementation.
 * @exception SystemException
 *                Thrown if any other error occurs.
 */
public void setTimeout (int timeout) throws InvalidTimeoutException,
    SystemException
{
  UserActivityFactory.userActivity().setTimeout(timeout);
}
com.arjuna.mw.wsasUserActivitysetTimeout

Javadoc

Set the timeout to be associated with all subsequently created activities. A default value of 0 is automatically associated with each thread and this means that no application specified timeout is set for activities.

Popular methods of UserActivity

  • end
    Complete the activity with the completion status provided.
  • resume
    Given a token representing a context, associate it with the current thread of control. This will imp
  • serviceType
  • suspend
    Suspend the current activity from this thread and return the token representing the context, if any,
  • currentActivity
  • getTimeout
    Get the timeout value currently associated with activities.
  • setCompletionStatus
    Set the termination status for the current activity, if any.
  • start
    Start a new activity with a given coordination type. If there is already an activity associated with

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • ImageIO (javax.imageio)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now