public final class ThreadContext extends Object
Modifier and Type | Method and Description |
---|---|
int |
createNewThreadId() |
boolean |
equals(Object o) |
void |
finalizeTxn() |
static ThreadContext |
get() |
com.hazelcast.impl.ThreadContext.CallCache |
getCallCache(FactoryImpl factory) |
CallContext |
getCallContext() |
FactoryImpl |
getCurrentFactory() |
ManagedContext |
getCurrentManagedContext() |
com.hazelcast.impl.ThreadContext.HazelcastInstanceThreadContext |
getHazelcastInstanceThreadContext(FactoryImpl factory) |
int |
getThreadId() |
TransactionImpl |
getTransaction() |
long |
getTxnId() |
int |
hashCode() |
boolean |
isClient()
Is this thread remote Java or CSharp Client thread?
|
void |
reset() |
void |
setCallContext(CallContext callContext) |
void |
setCurrentFactory(FactoryImpl currentFactory) |
void |
shutdown() |
void |
shutdown(FactoryImpl factory) |
static void |
shutdown(Thread thread) |
static void |
shutdownAll() |
byte[] |
toByteArray(Object obj) |
Data |
toData(Object obj) |
Object |
toObject(Data data) |
public static ThreadContext get()
public static void shutdownAll()
public static void shutdown(Thread thread)
public void shutdown()
public void shutdown(FactoryImpl factory)
public void finalizeTxn()
public TransactionImpl getTransaction()
public long getTxnId()
public FactoryImpl getCurrentFactory()
public ManagedContext getCurrentManagedContext()
public void setCurrentFactory(FactoryImpl currentFactory)
public void reset()
public byte[] toByteArray(Object obj)
public com.hazelcast.impl.ThreadContext.HazelcastInstanceThreadContext getHazelcastInstanceThreadContext(FactoryImpl factory)
public com.hazelcast.impl.ThreadContext.CallCache getCallCache(FactoryImpl factory)
public boolean isClient()
public int createNewThreadId()
public CallContext getCallContext()
public int getThreadId()
public void setCallContext(CallContext callContext)
Copyright © 2013 Hazelcast, Inc.. All rights reserved.