Package org.onosproject.net.device
Interface DeviceClockService
-
public interface DeviceClockService
Interface for a logical clock service that vends per device timestamps.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Timestamp
getTimestamp(DeviceId deviceId)
Returns a new timestamp for the specified deviceId.boolean
isTimestampAvailable(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
-
-