public interface Lock
| Modifier and Type | Method and Description |
|---|---|
boolean |
create(LeaderElectionRecord record)
create attempts to create a LeaderElectionRecord
|
java.lang.String |
describe()
Describe is used to convert details on current resource lock into a string
|
LeaderElectionRecord |
get()
get returns the LeaderElectionRecord which contains the information about the current lock
holder
|
java.lang.String |
identity()
identity returns the locks Identity
|
boolean |
update(LeaderElectionRecord record)
update attempts to update the existing LeaderElectionRecord
|
LeaderElectionRecord get() throws io.kubernetes.client.ApiException
io.kubernetes.client.ApiExceptionboolean create(LeaderElectionRecord record)
record - the information of this candidateboolean update(LeaderElectionRecord record)
record - the information of this candidatejava.lang.String identity()
java.lang.String describe()
Copyright © 2019. All rights reserved.