public abstract class AbstractTypeCodeCompactor extends Object implements TypeCodeCompactor
Constructor and Description |
---|
AbstractTypeCodeCompactor() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
cacheCompactedTypeCode(String id,
TypeCode compactedTypeCode) |
protected TypeCode |
fetchFromCache(String id,
TypeCode original)
this method is NOT thread-safe
|
TypeCode |
getCompactTypeCode(TypeCode originalTypeCode)
this method returns a compacted version of the passed in TypeCode
|
protected abstract Map |
newCache() |
protected final Map cache
protected abstract Map newCache()
public TypeCode getCompactTypeCode(TypeCode originalTypeCode)
TypeCodeCompactor
getCompactTypeCode
in interface TypeCodeCompactor
originalTypeCode
- the TypeCode that should be compactedprotected TypeCode fetchFromCache(String id, TypeCode original)
Copyright © 2017 JacORB. All rights reserved.