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