public abstract static class Worker.Current extends Worker
Worker.Current, Worker.JacksonDeserializer, Worker.JacksonSerializer| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
authenticate(AuthenticationParam param)
认证Supervisor远程调用Worker RPC接口的授权信息
|
abstract Map<String,String> |
authenticationHeaders()
返回http headers,用于Worker远程调用Supervisor RPC接口的授权信息
|
boolean |
equals(Object o) |
LocalDateTime |
getStartupAt() |
int |
hashCode()
Extends
Object#hashCode() |
current, deserialize, deserialize, getGroup, getWorkerId, matchesGroup, sameWorker, serializepublic LocalDateTime getStartupAt()
public abstract Map<String,String> authenticationHeaders()
public abstract void authenticate(AuthenticationParam param)
param - authentication paramCopyright © 2024. All rights reserved.