com.elasticpath.service.misc
Interface TimeService
- All Superinterfaces:
- EpPersistenceService, EpService
- All Known Implementing Classes:
- DatabaseServerTimeServiceImpl
public interface TimeService
- extends EpPersistenceService
Provides time service. This service provides a way to retrieve a timestamp from a unique source. This is rather critical in clustered environment
because different time varies on different application servers.
Method Summary |
java.util.Date |
getCurrentTime()
Returns the current time. |
getCurrentTime
java.util.Date getCurrentTime()
- Returns the current time.
- Returns:
- the current time.