final class OSThreadFactory extends java.lang.Object implements IPoolFactory<IMCThread>
JfrThread for the OS thread pool.| Modifier and Type | Field and Description |
|---|---|
private CanonicalConstantMap<JfrThread> |
threadsMap |
| Constructor and Description |
|---|
OSThreadFactory(CanonicalConstantMap<JfrThread> threadsMap) |
| Modifier and Type | Method and Description |
|---|---|
IMCThread |
createObject(long identifier,
java.lang.Object o)
Creates a replacement object for a value in a pool
|
ContentType<IMCThread> |
getContentType() |
private final CanonicalConstantMap<JfrThread> threadsMap
OSThreadFactory(CanonicalConstantMap<JfrThread> threadsMap)
public IMCThread createObject(long identifier, java.lang.Object o)
IPoolFactorycreateObject in interface IPoolFactory<IMCThread>identifier - the identifier that is used to look up the objectpublic ContentType<IMCThread> getContentType()
getContentType in interface IPoolFactory<IMCThread>