mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-19 17:45:10 +00:00
HHH-15138 Style and formatting fixes in BoundedConcurrentHashMap
This commit is contained in:
parent
1d1a142345
commit
04bfdd49ab
@ -36,10 +36,6 @@
|
||||
import java.util.concurrent.ConcurrentMap;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
|
||||
import static java.util.Collections.singletonMap;
|
||||
import static java.util.Collections.unmodifiableMap;
|
||||
|
||||
|
||||
/**
|
||||
* A hash table supporting full concurrency of retrievals and
|
||||
* adjustable expected concurrency for updates. This class obeys the
|
||||
@ -102,7 +98,6 @@
|
||||
*/
|
||||
public class BoundedConcurrentHashMap<K, V> extends AbstractMap<K, V>
|
||||
implements ConcurrentMap<K, V>, Serializable {
|
||||
private static final long serialVersionUID = 7249069246763182397L;
|
||||
|
||||
/*
|
||||
* The basic strategy is to subdivide the table among Segments,
|
||||
@ -393,11 +388,6 @@ public HashEntry<K, V> createNewEntry(K key, int hash, HashEntry<K, V> next, V v
|
||||
|
||||
static final class LRU<K, V> extends LinkedHashMap<HashEntry<K, V>, V> implements EvictionPolicy<K, V> {
|
||||
|
||||
/**
|
||||
* The serialVersionUID
|
||||
*/
|
||||
private static final long serialVersionUID = -7645068174197717838L;
|
||||
|
||||
private final ConcurrentLinkedQueue<HashEntry<K, V>> accessQueue;
|
||||
private final Segment<K, V> segment;
|
||||
private final int maxBatchQueueSize;
|
||||
|
Loading…
x
Reference in New Issue
Block a user