diff --git a/api-changes.json b/api-changes.json index 6f00aeb8..ca1e65f7 100644 --- a/api-changes.json +++ b/api-changes.json @@ -23,310 +23,6 @@ "configuration": { "ignore": true, "differences": [ - { - "code": "java.class.noLongerInheritsFromClass", - "old": "class stormpot.Pool", - "new": "interface stormpot.Pool", - "justification": "Major version change" - }, - { - "code": "java.class.kindChanged", - "old": "class stormpot.Pool", - "new": "interface stormpot.Pool", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.Pool stormpot.PoolBuilder::build()", - "new": "method stormpot.Pool stormpot.PoolBuilder::build()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::clone()", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::clone()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.Allocator stormpot.PoolBuilder::getAllocator()", - "new": "method stormpot.Allocator stormpot.PoolBuilder::getAllocator()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method int stormpot.PoolBuilder::getBackgroundExpirationCheckDelay()", - "new": "method int stormpot.PoolBuilder::getBackgroundExpirationCheckDelay()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.Expiration stormpot.PoolBuilder::getExpiration()", - "new": "method stormpot.Expiration stormpot.PoolBuilder::getExpiration()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.MetricsRecorder stormpot.PoolBuilder::getMetricsRecorder()", - "new": "method stormpot.MetricsRecorder stormpot.PoolBuilder::getMetricsRecorder()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.Reallocator stormpot.PoolBuilder::getReallocator()", - "new": "method stormpot.Reallocator stormpot.PoolBuilder::getReallocator()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method int stormpot.PoolBuilder::getSize()", - "new": "method int stormpot.PoolBuilder::getSize()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method java.util.concurrent.ThreadFactory stormpot.PoolBuilder::getThreadFactory()", - "new": "method java.util.concurrent.ThreadFactory stormpot.PoolBuilder::getThreadFactory()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method boolean stormpot.PoolBuilder::isBackgroundExpirationEnabled()", - "new": "method boolean stormpot.PoolBuilder::isBackgroundExpirationEnabled()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method boolean stormpot.PoolBuilder::isPreciseLeakDetectionEnabled()", - "new": "method boolean stormpot.PoolBuilder::isPreciseLeakDetectionEnabled()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setAllocator(stormpot.Allocator)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setAllocator(stormpot.Allocator)", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setBackgroundExpirationCheckDelay(int)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setBackgroundExpirationCheckDelay(int)", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setBackgroundExpirationEnabled(boolean)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setBackgroundExpirationEnabled(boolean)", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setExpiration(stormpot.Expiration)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setExpiration(stormpot.Expiration)", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setMetricsRecorder(stormpot.MetricsRecorder)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setMetricsRecorder(stormpot.MetricsRecorder)", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setPreciseLeakDetectionEnabled(boolean)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setPreciseLeakDetectionEnabled(boolean)", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setSize(int)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setSize(int)", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setThreadFactory(java.util.concurrent.ThreadFactory)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setThreadFactory(java.util.concurrent.ThreadFactory)", - "justification": "Major version change" - }, - { - "code": "java.class.kindChanged", - "old": "class stormpot.PoolBuilder", - "new": "interface stormpot.PoolBuilder", - "justification": "Major version change" - }, - { - "code": "java.class.nowAbstract", - "old": "class stormpot.PoolBuilder", - "new": "interface stormpot.PoolBuilder", - "justification": "Major version change" - }, - { - "code": "java.class.kindChanged", - "old": "class stormpot.PoolTap", - "new": "interface stormpot.PoolTap", - "justification": "Major version change" - }, - { - "code": "java.method.addedToInterface", - "new": "method long stormpot.SlotInfo::getCreatedNanoTime()", - "justification": "Major version change" - }, - { - "code": "java.method.addedToInterface", - "new": "method stormpot.PoolTap stormpot.Pool::getSingleThreadedTap()", - "justification": "Major version change" - }, - { - "code": "java.method.removed", - "old": "method stormpot.PoolTap stormpot.Pool::getThreadLocalTap()", - "justification": "Major version change" - }, - { - "code": "java.method.addedToInterface", - "new": "method stormpot.PoolTap stormpot.Pool::getVirtualThreadSafeTap()", - "justification": "Major version change" - }, - { - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolTap stormpot.Pool::getThreadSafeTap()", - "new": "method stormpot.PoolTap stormpot.Pool::getThreadSafeTap()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.removed", - "old": "method long stormpot.Timeout::getDeadline()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.removed", - "old": "method long stormpot.Timeout::getTimeLeft(long)", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.removed", - "old": "method long stormpot.SlotInfo::getClaimCount()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.addedToInterface", - "new": "method boolean stormpot.PoolBuilder::isOptimizeForReducedMemoryUsage()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.addedToInterface", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setOptimizeForReducedMemoryUsage(boolean)", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.returnTypeChanged", - "old": "method int stormpot.ManagedPool::getCurrentAllocatedCount()", - "new": "method long stormpot.ManagedPool::getCurrentAllocatedCount()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.returnTypeChanged", - "old": "method int stormpot.ManagedPool::getCurrentInUseCount()", - "new": "method long stormpot.ManagedPool::getCurrentInUseCount()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.returnTypeChanged", - "old": "method int stormpot.ManagedPool::getTargetSize()", - "new": "method long stormpot.ManagedPool::getTargetSize()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.parameterTypeChanged", - "old": "parameter void stormpot.ManagedPool::setTargetSize(===int===)", - "new": "parameter void stormpot.ManagedPool::setTargetSize(===long===)", - "parameterIndex": "0", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.returnTypeChanged", - "old": "method int stormpot.Pool::getTargetSize()", - "new": "method long stormpot.Pool::getTargetSize()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.parameterTypeChanged", - "old": "parameter void stormpot.Pool::setTargetSize(===int===)", - "new": "parameter void stormpot.Pool::setTargetSize(===long===)", - "parameterIndex": "0", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.addedToInterface", - "new": "method boolean java.util.concurrent.ForkJoinPool.ManagedBlocker::block() throws java.lang.InterruptedException @ stormpot.Completion", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.addedToInterface", - "new": "method boolean stormpot.Completion::isCompleted()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.addedToInterface", - "new": "method boolean java.util.concurrent.ForkJoinPool.ManagedBlocker::isReleasable() @ stormpot.Completion", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.addedToInterface", - "new": "method void java.util.concurrent.Flow.Publisher::subscribe(java.util.concurrent.Flow.Subscriber) @ stormpot.Completion", - "justification": "Major version change" - }, - - { - "ignore": true, - "code": "java.method.returnTypeChanged", - "old": "method int stormpot.PoolBuilder::getSize()", - "new": "method long stormpot.PoolBuilder::getSize()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.nowAbstract", - "old": "method int stormpot.PoolBuilder::getSize()", - "new": "method long stormpot.PoolBuilder::getSize()", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.parameterTypeChanged", - "old": "parameter stormpot.PoolBuilder stormpot.PoolBuilder::setSize(===int===)", - "new": "parameter stormpot.PoolBuilder stormpot.PoolBuilder::setSize(===long===)", - "parameterIndex": "0", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.nowAbstract", - "old": "method stormpot.PoolBuilder stormpot.PoolBuilder::setSize(int)", - "new": "method stormpot.PoolBuilder stormpot.PoolBuilder::setSize(long)", - "justification": "Major version change" - }, - { - "ignore": true, - "code": "java.method.addedToInterface", - "new": "method stormpot.Completion stormpot.Pool::switchAllocator(stormpot.Allocator)", - "justification": "Major version change" - } ] } }