@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class UseSharedCacheResourceResponse extends Object
The response from the SharedCacheManager to the client that indicates whether a requested resource exists in the cache.
Constructor and Description |
---|
UseSharedCacheResourceResponse() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getPath()
Get the
Path corresponding to the requested resource in the
shared cache. |
abstract void |
setPath(String p)
Set the
Path corresponding to a resource in the shared cache. |
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getPath()
Path
corresponding to the requested resource in the
shared cache.Path
if the resource exists in the shared
cache, null
otherwise@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setPath(String p)
Path
corresponding to a resource in the shared cache.p
- A Path
corresponding to a resource in the shared
cacheCopyright © 2017 Apache Software Foundation. All rights reserved.