public class SCMUploaderNotifyResponsePBImpl extends SCMUploaderNotifyResponse
Constructor and Description |
---|
SCMUploaderNotifyResponsePBImpl() |
SCMUploaderNotifyResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAccepted()
Get whether or not the shared cache manager has accepted the notified
resource (i.e.
|
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto |
getProto() |
void |
setAccepted(boolean b)
Set whether or not the shared cache manager has accepted the notified
resource (i.e.
|
public SCMUploaderNotifyResponsePBImpl()
public SCMUploaderNotifyResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto getProto()
public boolean getAccepted()
SCMUploaderNotifyResponse
getAccepted
in class SCMUploaderNotifyResponse
public void setAccepted(boolean b)
SCMUploaderNotifyResponse
setAccepted
in class SCMUploaderNotifyResponse
b
- True if the resource has been accepted, false otherwise.Copyright © 2020 Apache Software Foundation. All rights reserved.