Home
last modified time | relevance | path

Searched refs:SHARED_FOO (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DSharedResourceHolderTest.java70 private static final Resource<ResourceInstance> SHARED_FOO = new ResourceFactory(); field in SharedResourceHolderTest
78 ResourceInstance foo1 = holder.getInternal(SHARED_FOO); in destroyResourceWhenRefCountReachesZero()
80 ResourceInstance foo2 = holder.getInternal(SHARED_FOO); in destroyResourceWhenRefCountReachesZero()
86 foo2 = holder.releaseInternal(SHARED_FOO, foo2); in destroyResourceWhenRefCountReachesZero()
92 foo1 = holder.releaseInternal(SHARED_FOO, foo1); in destroyResourceWhenRefCountReachesZero()
106 ResourceInstance foo3 = holder.getInternal(SHARED_FOO); in destroyResourceWhenRefCountReachesZero()
123 ResourceInstance foo1 = holder.getInternal(SHARED_FOO); in cancelDestroyTask()
125 foo1 = holder.releaseInternal(SHARED_FOO, foo1); in cancelDestroyTask()
131 ResourceInstance foo2 = holder.getInternal(SHARED_FOO); in cancelDestroyTask()
140 foo2 = holder.releaseInternal(SHARED_FOO, foo2); in cancelDestroyTask()
[all …]