D - Represented descriptor typeT - Unguarded form typepublic final class DescriptorStorage<D extends Descriptor,T extends Serializable> extends Object
| Constructor and Description |
|---|
DescriptorStorage(String name,
OverlapAnalysisContext<D,T> overlapAnalysisContext,
String resource)
Constructs a new descriptor storage.
|
DescriptorStorage(String name,
OverlapAnalysisContext<D,T> context,
UnguardedPagedOverlap descriptors)
Construct a new descriptor storage.
|
| Modifier and Type | Method and Description |
|---|---|
OverlapAnalysisContext<D,T> |
context()
Gets the overlap analysis context.
|
String |
name()
Gets the name of storage.
|
UnguardedPagedOverlap<T> |
pagedOverlap()
Gets the unguarded paged overlap.
|
public DescriptorStorage(String name, OverlapAnalysisContext<D,T> context, UnguardedPagedOverlap descriptors)
name - Associated namecontext - Associated contextdescriptors - Descriptor storagepublic DescriptorStorage(String name, OverlapAnalysisContext<D,T> overlapAnalysisContext, String resource)
name - Associated nameoverlapAnalysisContext - Associated contextresource - name of file, which contains serialized descriptorspublic String name()
public OverlapAnalysisContext<D,T> context()
public UnguardedPagedOverlap<T> pagedOverlap()