@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class CollectorInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected static long |
DEFAULT_TIMESTAMP_VALUE |
Constructor and Description |
---|
CollectorInfo() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getCollectorAddr() |
abstract Token |
getCollectorToken()
Get delegation token for app collector which AM will use to publish
entities.
|
static CollectorInfo |
newInstance(String collectorAddr) |
static CollectorInfo |
newInstance(String collectorAddr,
Token token) |
abstract void |
setCollectorAddr(String addr) |
abstract void |
setCollectorToken(Token token) |
protected static final long DEFAULT_TIMESTAMP_VALUE
public static CollectorInfo newInstance(String collectorAddr)
public static CollectorInfo newInstance(String collectorAddr, Token token)
public abstract String getCollectorAddr()
public abstract void setCollectorAddr(String addr)
public abstract Token getCollectorToken()
public abstract void setCollectorToken(Token token)
Copyright © 2024 Apache Software Foundation. All rights reserved.