public static interface StorageChannelCountProvider.Validation
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidChannelCountPow2Value(int channelCount) |
static boolean |
isValidChannelCountRange(int channelCount) |
static int |
maximumChannelCount()
What was that: '640 KB ought to be enough RAM for anybody'?
Nevertheless, I'll stick with that bound for now. TM, 2013-06-20 |
static int |
minimumChannelCount()
This is NOT necessarily the default channel count.
|
static void |
validateParameters(int channelCount) |
static int maximumChannelCount()
On a more serious note:
This check has no actual technical background, it is just a safety net against
oversight mistakes to prevent creation of thousands of threads and files.
Can be altered or removed anytime.
static int minimumChannelCount()
static boolean isValidChannelCountRange(int channelCount)
static boolean isValidChannelCountPow2Value(int channelCount)
static void validateParameters(int channelCount)
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2022 MicroStream Software. All rights reserved.