use of org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.mapping.database.LastUpdated in project lispflowmapping by opendaylight.
the class DataStoreBackEnd method getLastUpdateTimestamp.
public Long getLastUpdateTimestamp() {
LastUpdated lastUpdated = readTransaction(LAST_UPDATED, LogicalDatastoreType.OPERATIONAL);
if (lastUpdated != null && lastUpdated.getLastUpdated() != null) {
Long timestamp = lastUpdated.getLastUpdated();
LOG.debug("MD-SAL: Retrieved last update timestamp from operational datastore: {}", new Date(timestamp).toString());
return timestamp;
} else {
LOG.debug("MD-SAL: Couldn't retrieve last update timestamp from operational datastore");
return null;
}
}
Aggregations