ReaperThread
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.arjuna.mwlabs.wsas.activity.ReaperThread(Showing top 15 results out of 315)

  • Common ways to obtain ReaperThread
private void myMethod () {
ReaperThread r =
  • ActivityReaper arg;new ReaperThread(arg)
  • Smart code suggestions by Codota
}
origin: org.jboss.narayana.xts/jbossxts

public ReaperThread (ActivityReaper arg)
{
  super("XTS Activity Reaper");
_reaperObject = arg;
_sleepPeriod = 0;
_shutdown = false;
this.setDaemon(true);
}

origin: org.jboss.narayana.xts/jbossxts

/**
 * make sure the reaper thread exits
 */
public static synchronized void shutdown()
{
  if (_theReaper != null) {
    _reaperThread.shutdown();
  }
}
origin: org.jboss.narayana.xts/jbossxts

/**
 * Currently we let the reaper thread run at same priority as other
 * threads. Could get priority from environment.
 */
public static synchronized ActivityReaper create ()
{
  // TODO -- problem here because nothing calls shutdown
if (_theReaper == null)
{
  ActivityReaper._theReaper = new ActivityReaper();
  _reaperThread = new ReaperThread(ActivityReaper._theReaper);
  //	    _reaperThread.setPriority(Thread.MIN_PRIORITY);
  _reaperThread.setDaemon(true);
  _reaperThread.start();
}
return _theReaper;
}
origin: jbosstm/narayana

public ReaperThread (ActivityReaper arg)
{
  super("XTS Activity Reaper");
_reaperObject = arg;
_sleepPeriod = 0;
_shutdown = false;
this.setDaemon(true);
}

origin: org.jboss.jbossts.xts/jbossxts

public ReaperThread (ActivityReaper arg)
{
  super("XTS Activity Reaper");
_reaperObject = arg;
_sleepPeriod = 0;
_shutdown = false;
this.setDaemon(true);
}

origin: jbosstm/narayana

/**
 * make sure the reaper thread exits
 */
public static synchronized void shutdown()
{
  if (_theReaper != null) {
    _reaperThread.shutdown();
  }
}
origin: org.jboss.narayana.xts/jbossxts

/**
 * make sure the reaper thread exits
 */
public static synchronized void shutdown()
{
  if (_theReaper != null) {
    _reaperThread.shutdown();
  }
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * make sure the reaper thread exits
 */
public static synchronized void shutdown()
{
  if (_theReaper != null) {
    _reaperThread.shutdown();
  }
}
origin: org.jboss.narayana.xts/jbossxts

public ReaperThread (ActivityReaper arg)
{
  super("XTS Activity Reaper");
_reaperObject = arg;
_sleepPeriod = 0;
_shutdown = false;
this.setDaemon(true);
}

origin: org.jboss.jbossts.xts/jbossxts

/**
 * make sure the reaper thread exits
 */
public static synchronized void shutdown()
{
  if (_theReaper != null) {
    _reaperThread.shutdown();
  }
}
origin: org.jboss.jbossts.xts/jbossxts

public ReaperThread (ActivityReaper arg)
{
  super("XTS Activity Reaper");
_reaperObject = arg;
_sleepPeriod = 0;
_shutdown = false;
this.setDaemon(true);
}

origin: jbosstm/narayana

/**
 * make sure the reaper thread exits
 */
public static synchronized void shutdown()
{
  if (_theReaper != null) {
    _reaperThread.shutdown();
  }
}
origin: jbosstm/narayana

public ReaperThread (ActivityReaper arg)
{
  super("XTS Activity Reaper");
_reaperObject = arg;
_sleepPeriod = 0;
_shutdown = false;
this.setDaemon(true);
}

origin: org.jboss.narayana.xts/jbossxts

/**
 * Currently we let the reaper thread run at same priority as other
 * threads. Could get priority from environment.
 */
public static synchronized ActivityReaper create ()
{
  // TODO -- problem here because nothing calls shutdown
if (_theReaper == null)
{
  ActivityReaper._theReaper = new ActivityReaper();
  _reaperThread = new ReaperThread(ActivityReaper._theReaper);
  //	    _reaperThread.setPriority(Thread.MIN_PRIORITY);
  _reaperThread.setDaemon(true);
  _reaperThread.start();
}
return _theReaper;
}
origin: org.jboss.jbossts.xts/jbossxts

/**
 * Currently we let the reaper thread run at same priority as other
 * threads. Could get priority from environment.
 */
public static synchronized ActivityReaper create ()
{
  // TODO -- problem here because nothing calls shutdown
if (_theReaper == null)
{
  ActivityReaper._theReaper = new ActivityReaper();
  _reaperThread = new ReaperThread(ActivityReaper._theReaper);
  //	    _reaperThread.setPriority(Thread.MIN_PRIORITY);
  _reaperThread.setDaemon(true);
  _reaperThread.start();
}
return _theReaper;
}
com.arjuna.mwlabs.wsas.activityReaperThread

Javadoc

Class to record transactions with non-zero timeout values, and class to implement a transaction reaper thread which terminates these transactions once their timeout elapses.

Most used methods

  • <init>
  • setDaemon
  • shutdown
  • start

Popular classes and methods

  • getSystemService (Context)
  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Window (java.awt)
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on *
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)