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, stopTimingclone, finalize, getClass, notify, notifyAll, wait, wait, waitisEquivalentToclose, stopTimingpublic TimePortAndAssignment(PortAndAssignment measured, com.codahale.metrics.Timer timer)
public String getToplogyId()
getToplogyId in interface PortAndAssignmentpublic String getOwner()
getOwner in interface PortAndAssignmentpublic int getPort()
getPort in interface PortAndAssignmentpublic LocalAssignment getAssignment()
getAssignment in interface PortAndAssignmentpublic void complete()
complete in interface PortAndAssignmentpublic int hashCode()
All implementations of PortAndAssignment should implement the same hashCode() method.
Copyright © 2021 The Apache Software Foundation. All rights reserved.