public class TimePortAndAssignment extends Timed<PortAndAssignment> implements PortAndAssignment
Constructor and Description |
---|
TimePortAndAssignment(PortAndAssignment measured,
com.codahale.metrics.Timer timer) |
Modifier and Type | Method and Description |
---|---|
void |
complete() |
boolean |
equals(Object other)
All implementations of PortAndAssignment should implement the same equals() method.
|
LocalAssignment |
getAssignment() |
String |
getOwner() |
int |
getPort() |
String |
getToplogyId() |
int |
hashCode()
All implementations of PortAndAssignment should implement the same hashCode() method.
|
String |
toString() |
getMeasured, stopTiming
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
close, stopTiming
public TimePortAndAssignment(PortAndAssignment measured, com.codahale.metrics.Timer timer)
public String getToplogyId()
getToplogyId
in interface PortAndAssignment
public String getOwner()
getOwner
in interface PortAndAssignment
public int getPort()
getPort
in interface PortAndAssignment
public LocalAssignment getAssignment()
getAssignment
in interface PortAndAssignment
public void complete()
complete
in interface PortAndAssignment
public int hashCode()
All implementations of PortAndAssignment should implement the same hashCode() method.
Copyright © 2022 The Apache Software Foundation. All rights reserved.