java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.JobSystem
- All Implemented Interfaces:
ConstJoltPhysicsObject
,AutoCloseable
,Comparable<JoltPhysicsObject>
- Direct Known Subclasses:
JobSystemSingleThreaded
,JobSystemWithBarrier
A system for scheduling units of work for execution.
-
Method Summary
Modifier and TypeMethodDescriptionint
Return maximum number of jobs that can execute concurrently.Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, getContainingObject, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, setVirtualAddress, startCleaner, targetVa, toString, va
-
Method Details
-
getMaxConcurrency
public int getMaxConcurrency()Return maximum number of jobs that can execute concurrently.- Returns:
- the number (≥1)
-