| Package | Description |
|---|---|
| net.openhft.affinity |
| Modifier and Type | Method and Description |
|---|---|
static AffinityLock |
Affinity.acquireCore() |
static AffinityLock |
AffinityLock.acquireCore()
Assign any free core to this thread.
|
static AffinityLock |
Affinity.acquireCore(boolean bind) |
static AffinityLock |
AffinityLock.acquireCore(boolean bind)
Assign a core(and all its cpus) which can be bound to the current thread or another thread.
|
static AffinityLock |
Affinity.acquireLock() |
static AffinityLock |
AffinityLock.acquireLock()
Assign any free cpu to this thread.
|
AffinityLock |
AffinityLock.acquireLock(AffinityStrategy... strategies)
Give another affinity lock relative to this one based on a list of strategies.
|
static AffinityLock |
Affinity.acquireLock(boolean bind) |
static AffinityLock |
AffinityLock.acquireLock(boolean bind)
Assign a cpu which can be bound to the current thread or another thread.
|
static AffinityLock |
AffinityLock.acquireLock(int cpuId)
Assign a cpu which can be bound to the current thread or another thread.
|
static AffinityLock |
AffinityLock.acquireLock(int[] cpus)
Assign a cpu which can be bound to the current thread or another thread
Caller passes in an explicit set of preferred CPUs
The first available CPU is used, and the lock returned
If all CPUs in the set are unavailable then no lock is obtained
|
static AffinityLock |
AffinityLock.acquireLock(String desc)
Use a description to allocate a cpu.
|
static AffinityLock |
AffinityLock.acquireLockLastMinus(int n)
Allocate from the end.
|
AffinityLock |
AffinityLock.resetAffinity(boolean resetAffinity) |
Copyright © 2024. All rights reserved.