public class ResourceRemoved extends Object implements RequiresLeaderSessionID, Serializable
Constructor and Description |
---|
ResourceRemoved(ResourceID resourceId,
String message)
Constructor for a shutdown of a registered resource.
|
Modifier and Type | Method and Description |
---|---|
String |
message()
Gets the optional message with details, for logging and debugging.
|
ResourceID |
resourceId()
Gets the ID under which the resource is registered (for example container ID).
|
String |
toString() |
public ResourceRemoved(ResourceID resourceId, String message)
resourceId
- The ID under which the resource is registered (for example container ID).message
- Optional message with details, for logging and debugging.public ResourceID resourceId()
public String message()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.