@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ReleaseSharedCacheResourceRequest extends Object
The request from clients to release a resource in the shared cache.
Constructor and Description |
---|
ReleaseSharedCacheResourceRequest() |
Modifier and Type | Method and Description |
---|---|
abstract ApplicationId |
getAppId()
Get the
ApplicationId of the resource to be released. |
abstract String |
getResourceKey()
Get the
key of the resource to be released. |
abstract void |
setAppId(ApplicationId id)
Set the
ApplicationId of the resource to be released. |
abstract void |
setResourceKey(String key)
Set the
key of the resource to be released. |
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ApplicationId getAppId()
ApplicationId
of the resource to be released.ApplicationId
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setAppId(ApplicationId id)
ApplicationId
of the resource to be released.id
- ApplicationId
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getResourceKey()
key
of the resource to be released.key
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setResourceKey(String key)
key
of the resource to be released.key
- unique identifier for the resourceCopyright © 2018 Apache Software Foundation. All rights reserved.