use of org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.mappingservice.rev150906.mapping.database.LastUpdatedBuilder in project lispflowmapping by opendaylight.
the class DataStoreBackEnd method saveLastUpdateTimestamp.
public void saveLastUpdateTimestamp() {
Long timestamp = System.currentTimeMillis();
LOG.debug("MD-SAL: Saving last update timestamp to operational datastore: {}", new Date(timestamp).toString());
writePutTransaction(LAST_UPDATED, new LastUpdatedBuilder().setLastUpdated(timestamp).build(), LogicalDatastoreType.OPERATIONAL, "Couldn't save last update timestamp to operational datastore");
}
Aggregations