update 整理 代码顺序

feature/model
疯狂的狮子Li 1 year ago
parent c1ed482c59
commit 2a74329206

@ -131,17 +131,6 @@ public class QueueUtils {
return priorityBlockingQueue.offer(data);
}
/**
*
*
* @param queueName
* @param capacity
*/
public static <T> boolean trySetBoundedQueueCapacity(String queueName, int capacity) {
RBoundedBlockingQueue<T> boundedBlockingQueue = CLIENT.getBoundedBlockingQueue(queueName);
return boundedBlockingQueue.trySetCapacity(capacity);
}
/**
* null()
*
@ -168,6 +157,17 @@ public class QueueUtils {
return queue.delete();
}
/**
*
*
* @param queueName
* @param capacity
*/
public static <T> boolean trySetBoundedQueueCapacity(String queueName, int capacity) {
RBoundedBlockingQueue<T> boundedBlockingQueue = CLIENT.getBoundedBlockingQueue(queueName);
return boundedBlockingQueue.trySetCapacity(capacity);
}
/**
*
*

@ -21,7 +21,6 @@ import org.springframework.web.bind.annotation.RestController;
* @author Lion Li
* @version 3.6.0
*/
@SaIgnore
@Slf4j
@RequiredArgsConstructor
@RestController

Loading…
Cancel
Save