Package org.onosproject.net.device
Interface DeviceClockService
-
public interface DeviceClockServiceInterface for a logical clock service that vends per device timestamps.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimestampgetTimestamp(DeviceId deviceId)Returns a new timestamp for the specified deviceId.booleanisTimestampAvailable(DeviceId deviceId)Checks if this service can issue Timestamp for specified device.
-
-
-
Method Detail
-
isTimestampAvailable
boolean isTimestampAvailable(DeviceId deviceId)
Checks if this service can issue Timestamp for specified device.- Parameters:
deviceId- device identifier.- Returns:
- true if timestamp can be issued for specified device
-
-