public class ScopeEncoder
extends java.lang.Object
| Constructor and Description |
|---|
ScopeEncoder(int bitsPerScope)
Create a scope encoder.
|
| Modifier and Type | Method and Description |
|---|---|
int |
encode(CacheScope scopeInfo)
Encode scope information into integer.
|
public ScopeEncoder(int bitsPerScope)
bitsPerScope - the number of bits the scope haspublic int encode(CacheScope scopeInfo)
scopeInfo - the scope will be encodedCopyright © 2022. All Rights Reserved.