Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BJS-kr/nestjs-omacache
/ functions
Functions
48 in github.com/BJS-kr/nestjs-omacache
⨍
Functions
48
◇
Types & classes
12
↓ 32 callers
Method
get
(key: string)
lib/types.ts:24
↓ 17 callers
Function
biggerThan
(input: number, expected: number)
lib/test/util.ts:12
↓ 16 callers
Function
sleep
(ms: number)
lib/test/util.ts:4
↓ 11 callers
Method
has
(key: string)
lib/types.ts:28
↓ 10 callers
Function
lessThan
(input: number, expected: number)
lib/test/util.ts:8
↓ 9 callers
Method
set
(key: string, value: any)
lib/types.ts:25
↓ 6 callers
Method
delete
(key: string)
lib/types.ts:27
↓ 3 callers
Method
cacheableTaskWithArrayParam
(param: any[])
lib/test/service.ts:39
↓ 3 callers
Function
getChildrenObject
(storage, rootKey)
lib/cache.ts:71
↓ 3 callers
Function
makeParamBasedCacheKey
( key: string, args: any[], paramIndex: number[] | undefined )
lib/cache.ts:17
↓ 3 callers
Function
makeRootKey
(key: string)
lib/cache.ts:16
↓ 2 callers
Function
deleteAllChildrenByRootKey
( storage: ICacheStorage, rootKey: RootKey, originalKey: string )
lib/cache.ts:56
↓ 2 callers
Function
deleteChildCacheKey
( storage: ICacheStorage, cacheKey: string, rootKey: RootKey )
lib/cache.ts:44
↓ 1 callers
Function
Cache
( { storage }: { storage: ICacheStorage } = { storage: new DefaultStorage() } )
lib/cache.ts:94
↓ 1 callers
Method
cacheableTask1
()
lib/test/service.ts:13
↓ 1 callers
Method
cacheableTask2
()
lib/test/service.ts:23
↓ 1 callers
Method
clear
()
lib/default.storage.ts:30
↓ 1 callers
Function
copyOriginalMetadataToCacheDescriptor
( metadataKeys: any[], originalMethod: any, descriptor: PropertyDescriptor )
lib/cache.ts:82
↓ 1 callers
Method
extractCacheMetadata
(instances: InstanceWrapper<any>[])
lib/cache.service.ts:31
↓ 1 callers
Method
getAllInstances
()
lib/cache.service.ts:16
↓ 1 callers
Method
initializeAllPersistentCache
()
lib/cache.service.ts:64
↓ 1 callers
Function
isBust
( cacheOptions: CacheOptions<CacheKind>, )
lib/guard.ts:13
↓ 1 callers
Function
isPersistent
( cacheOptions: CacheOptions<CacheKind>, )
lib/guard.ts:3
↓ 1 callers
Function
isTemporal
( cacheOptions: CacheOptions<CacheKind>, )
lib/guard.ts:8
↓ 1 callers
Method
notCacheableTask
()
lib/test/service.ts:28
↓ 1 callers
Function
setChildCacheKey
( storage: ICacheStorage, cacheKey: string, rootKey: RootKey )
lib/cache.ts:29
Method
canExplore
(instance: InstanceWrapper<any>)
lib/cache.service.ts:23
Method
constructor
( private readonly discoveryService: DiscoveryService, private readonly scanner: MetadataScanner,
lib/cache.service.ts:10
Method
constructor
(size: number = 10000)
lib/default.storage.ts:5
Method
constructor
(private readonly testService: InMemTestService)
lib/test/controller.ts:16
Method
delete
(key: string)
lib/default.storage.ts:22
Method
get
(key: string)
lib/default.storage.ts:12
Method
has
(key: string)
lib/default.storage.ts:26
Method
onModuleInit
()
lib/cache.service.ts:73
Method
partiallyCached
()
lib/test/controller.ts:108
Method
reverseOrderDecorator
()
lib/test/controller.ts:121
Method
set
(key: string, value: any, ttl?: number)
lib/default.storage.ts:16
Method
test1
()
lib/test/controller.ts:22
Method
test2
()
lib/test/controller.ts:34
Method
test2bust
()
lib/test/controller.ts:49
Method
test3
()
lib/test/controller.ts:57
Method
test3RootKeyBust
()
lib/test/controller.ts:105
Method
test3bust
()
lib/test/controller.ts:97
Method
test3param
( @Param("param") param: string, @Query("query") query: string )
lib/test/controller.ts:70
Method
test3post
(@Body() body: { [key: string]: any })
lib/test/controller.ts:86
Method
test6
()
lib/test/controller.ts:133
Method
test6bust
()
lib/test/controller.ts:161
Method
underTest6
()
lib/test/controller.ts:145