org.exoplatform.social.common.service.utils
Class ThreadHelper

java.lang.Object
  extended by org.exoplatform.social.common.service.utils.ThreadHelper

public final class ThreadHelper
extends Object


Field Summary
static String DEFAULT_PATTERN
           
 
Method Summary
static String resolveThreadName(String pattern, String name)
          Creates a new thread name with the given pattern

 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PATTERN

public static final String DEFAULT_PATTERN
See Also:
Constant Field Values
Method Detail

resolveThreadName

public static String resolveThreadName(String pattern,
                                       String name)
Creates a new thread name with the given pattern

Parameters:
pattern - the pattern
name - the name
Returns:
the thread name, which is unique


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.