-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
cache/src/main/java/net/legacy/library/cache/service/custom/CustomCacheService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package net.legacy.library.cache.service.custom; | ||
|
||
import net.legacy.library.cache.service.AbstractCacheService; | ||
import net.legacy.library.cache.service.CacheServiceInterface; | ||
|
||
/** | ||
* CustomCacheService is a custom implementation of a cache service. | ||
* | ||
* @param <C> the cache implementation type | ||
* @param <V> the cache value type | ||
* @author qwq-dev | ||
* @see AbstractCacheService | ||
* @see CacheServiceInterface | ||
* @since 2024-12-25 12:17 | ||
*/ | ||
public class CustomCacheService<C, V> extends AbstractCacheService<C, V> implements CacheServiceInterface<C, V> { | ||
/** | ||
* Constructs a new CustomCacheService with the specified cache implementation. | ||
* | ||
* @param cache the underlying cache implementation | ||
*/ | ||
public CustomCacheService(C cache) { | ||
super(cache); | ||
} | ||
} |