package com.perforce.maven.scm.provider.p4.manager;
import com.perforce.p4java.client.IClient;
public class P4ClientThreadLocal
{
public static final ThreadLocal<IClient> userThreadLocal = new ThreadLocal<IClient>();
public static void set( IClient client )
{
userThreadLocal.set( client );
}
public static void unset()
{
userThreadLocal.remove();
}
public static IClient get()
{
return userThreadLocal.get();
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
10055 |
Matt Attaway |
Pull over numerous changes from @dantran's branch. |
|
|
//guest/dantran/p4maven/p4maven-provider/src/main/java/com/perforce/maven/scm/provider/p4/manager/P4ClientThreadLocal.java |
#1
|
9701 |
dantran |
speed up reactor build caching last IClient of current thread |
|
|