Interface SearchRedirectDao
- All Known Implementing Classes:
SearchRedirectDaoImpl
public interface SearchRedirectDao
Created by ppatel.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the number of milliseconds that the current date/time will be cached for queries before refreshing.voidsetCurrentDateResolution(Long currentDateResolution) Sets the number of milliseconds that the current date/time will be cached for queries before refreshing.
-
Method Details
-
findSearchRedirectBySearchTerm
-
getCurrentDateResolution
Long getCurrentDateResolution()Returns the number of milliseconds that the current date/time will be cached for queries before refreshing. This aids in query caching, otherwise every query that utilized current date would be different and caching would be ineffective.- Returns:
- the milliseconds to cache the current date/time
-
setCurrentDateResolution
Sets the number of milliseconds that the current date/time will be cached for queries before refreshing. This aids in query caching, otherwise every query that utilized current date would be different and caching would be ineffective.- Parameters:
currentDateResolution- the milliseconds to cache the current date/time
-