public int get ( final byte [ ] array , final int offset , final int length ) { final long hash = MurmurHash3 . hash ( array , offset , length ) ; final ReadLock readLock = lock [ ( int ) ( hash >>> shift ) ] . readLock ( ) ; try { readLock . lock ( ) ; return stripe [ ( int ) ( hash >>> shift ) ] . get ( array , offset , length , hash ) ; } finally { readLock . unlock ( ) ; } }
Gets the value of the counter associated with a given key .