Package com.qfs.pool
Interface IPartitionThreadPoolProvider
- All Known Subinterfaces:
IPartitionThreadPoolFactory
- All Known Implementing Classes:
StoreThreadPoolFactory
public interface IPartitionThreadPoolProvider
An interface for exposing the
thread pools associated with partitions.- Author:
- ActiveViam
-
Method Summary
Modifier and TypeMethodDescriptiongetMixedWorkloadPool(int partitionId) Returns thepoolthe given partition is associated with.
-
Method Details
-
getMixedWorkloadPool
Returns thepoolthe given partition is associated with.- Parameters:
partitionId- a partition id- Returns:
- this partition's thread pool
-
getNumaSelector
IDatastoreNumaNodeSelector getNumaSelector()
-