As far as I see, there's no standard implementation in Java stdlibs, but .... A min- max priority queue can be configured with a maximum size.
stackoverflow.com