Toggle navigation
Home
org.apache.phoenix.schema.PTable to org.apache.phoenix.schema.PMetaDataEntity
No. of Instances - 14
No. of Commits - 1
No. of Projects - {'pheonix'}
Hierarchy/Composition: R_SUPER_T
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Different)
Weigher<ImmutableBytesPtr,PTable>
to
Weigher<ImmutableBytesPtr,PMetaDataEntity>
Weigher<ImmutableBytesPtr,PTable>
to
Weigher<ImmutableBytesPtr,PMetaDataEntity>
Add or Remove Method invocation
CacheBuilder.newBuilder().maximumWeight(maxSize).expireAfterAccess(maxTTL,TimeUnit.MILLISECONDS).weigher(new Weigher<ImmutableBytesPtr,PMetaDataEntity>(){ @Override public int weigh( ImmutableBytesPtr key, PTable table){ return SizedUtil.IMMUTABLE_BYTES_PTR_SIZE + key.getLength() + table.getEstimatedSize(); } } ).build()
to
CacheBuilder.newBuilder().maximumWeight(maxSize).expireAfterAccess(maxTTL,TimeUnit.MILLISECONDS).weigher(new Weigher<ImmutableBytesPtr,PMetaDataEntity>(){ @Override public int weigh( ImmutableBytesPtr key, PMetaDataEntity table){ return SizedUtil.IMMUTABLE_BYTES_PTR_SIZE + key.getLength() + table.getEstimatedSize(); } } ).build()
CacheBuilder.newBuilder().maximumWeight(maxSize).expireAfterAccess(maxTTL,TimeUnit.MILLISECONDS).weigher(new Weigher<ImmutableBytesPtr,PMetaDataEntity>(){ @Override public int weigh( ImmutableBytesPtr key, PTable table){ return SizedUtil.IMMUTABLE_BYTES_PTR_SIZE + key.getLength() + table.getEstimatedSize(); } } ).build()
to
CacheBuilder.newBuilder().maximumWeight(maxSize).expireAfterAccess(maxTTL,TimeUnit.MILLISECONDS).weigher(new Weigher<ImmutableBytesPtr,PMetaDataEntity>(){ @Override public int weigh( ImmutableBytesPtr key, PMetaDataEntity table){ return SizedUtil.IMMUTABLE_BYTES_PTR_SIZE + key.getLength() + table.getEstimatedSize(); } } ).build()