Toggle navigation
Home
java.lang.Long to org.apache.hadoop.hdds.scm.container.common.helpers.PipelineID
No. of Instances - 4
No. of Commits - 1
No. of Projects - {'hadoop'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Cascading Type Change (Different)
RemovalListener<Long,XceiverClientSpi>
to
RemovalListener<PipelineID,XceiverClientSpi>
Add or Remove Method invocation
CacheBuilder.newBuilder().expireAfterAccess(staleThresholdMs,TimeUnit.MILLISECONDS).maximumSize(maxSize).removalListener(new RemovalListener<PipelineID,XceiverClientSpi>(){ @Override public void onRemoval( RemovalNotification<Long,XceiverClientSpi> removalNotification){ synchronized (clientCache) { XceiverClientSpi info=removalNotification.getValue(); info.setEvicted(); } } } ).build()
to
CacheBuilder.newBuilder().expireAfterAccess(staleThresholdMs,TimeUnit.MILLISECONDS).maximumSize(maxSize).removalListener(new RemovalListener<PipelineID,XceiverClientSpi>(){ @Override public void onRemoval( RemovalNotification<PipelineID,XceiverClientSpi> removalNotification){ synchronized (clientCache) { XceiverClientSpi info=removalNotification.getValue(); info.setEvicted(); } } } ).build()
container1.getContainerInfo().getContainerID()
to
container1.getContainerInfo().getPipelineID()
container1.getContainerInfo().getContainerID()
to
container1.getContainerInfo().getPipelineID()