harness-zio
harness-zio
API
harness.zio
config
ConfigSource
ConfigSource
EnvVar
File
JarResource
Raw
EncodedConfigSource
EncodedConfigSource
HConfig
KeyedConfig
KeyedConfig
KeyedConfigDecoder
KeyedConfigDecoder
LoggerConfig
LoggerConfig
Src
StdOutConfig
StdOutJsonConfig
StdConfigs
LogLevelOrDefault
LogLevelOrDefault
TelemetryConfig
TelemetryConfig
LoggedConfig
Src
error
ConfigError
ConfigError
ConfigTarget
EnvVar
File
JarResource
RawString
ConfigTarget
LoadError
ConfigTargetDNE
FailedToDecode
Generic
LoadError
ReadError
DecodingFailure
ExpectedJsonObject
ObjectMissingKey
ReadError
EncodedThrowable
EncodedThrowable
ExecutableError
ExecutableError
CommandLineHelp
CommandLineParsingFailure
FailedToCreateService
FailedToLoadConfig
FailedToParseArgs
FailedToReadConfig
InvalidParser
InvalidSubCommand
MissingSubCommand
FSError
FSError
FailedToCreateDirectories
FailedToCreateDirectory
FailedToCreateFile
FailedToCreateLink
FailedToCreateSymLink
FailedToDelete
FailedToGetChild
FailedToGetChildren
FailedToGetParent
Generic
PathDNE
PathIsNotADirectory
PathIsNotAFile
PathParentDNE
UnableToCreateInputStream
UnableToCreateOutputStream
UnableToDecodeFileContents
UnableToGetHomeDirectory
UnableToGetProperty
UnableToGetRoots
UnableToReadFromFile
UnableToResolvePath
UnableToSetProperty
UnableToWriteToFile
JarResourceError
JarResourceError
Generic
PathDNE
SysError
SysError
GenericError
NonZeroExitCode
AppliedCache
AppliedCache
unsafe
Cache
Cache
unsafe
CauseOps
ErrorLogger
ErrorLogger
Builder
Builder
ThrowableInstances
ErrorMapper
ErrorMapper
ExeTmpMain
Person
Person
Executable
Executable
CommandLineLoggerConfig
CommandLineLoggerConfig
LogType
StdOut
StdOut
StdOutJson
Zio
LogType
OneOf
Single
ExecutableApp
ExecutableBuilders
Builder1
Builder2
Builder3
Builder4
Builder5
Builder6
Builder7
FiberRefModification
FiberRefModification
FiberRefModificationOps
modification
FiberRefModificationR
FiberRefModificationR
FileSystem
FileSystem
FileSystemCompanionPlatformSpecific
FileSystemCompanionPlatformSpecificImpl
JarUtils
LoggedZPool
LoggedZPool
Logger
Logger
Cause
Base
Both
Die
Empty
Fail
Interrupt
Then
Cause
Event
Event
ExecutedEvent
FiberId
Composite
None
Runtime
FiberId
LogContext
LogLevel
LogLevel
Source
Source
names
StackTrace
StackTrace
Target
Target
Trace
Trace
log
LogAtLevel
always
debug
detailed
error
fatal
important
info
never
trace
warning
logCause
LogCauseAtLevel
always
debug
detailed
error
fatal
important
info
never
trace
warning
logCauseStack
LogCauseAtLevel
always
debug
detailed
error
fatal
important
info
never
trace
warning
logStack
LogAtLevel
always
debug
detailed
error
fatal
important
info
never
trace
warning
withDefaultMinLogTolerance
withLevel
OptionZIOOps
Path
Path
Name
ScheduleCompanionOps
ScheduleDurationOps
ScheduleOps
Sys
Sys
Command
ExecuteBuilder
execute
execute0
executeString0
Command
Arg
HarnessProcessLogger
HarnessProcessLogger
MessageDecoder
MessageDecoder
Live
LogLevels
Unimplemented
Telemetry
Telemetry
StartMarker
StartMarker
Trace
Trace
UnimplementedFileSystem
WithLogLevel
WithLogLevel
WithLogLevelAbstract
ZIOAspectAtLeastR
Impl
ZIOAspectPoly
Impl
ZIOAutoClosableOps
ZIOCompanionOps
ZIOLogTelemetryOps
ErrorLogOps
logErrorDiscard
logErrorStackDiscard
telemetrize
ZIOOps
harness-zio
/
harness.zio
/
AppliedCache
AppliedCache
harness.zio.AppliedCache
See the
AppliedCache
companion object
final case
class
AppliedCache
[
R
,
E
,
K
,
V
](
_cache
:
Cache
[
K
,
V
],
_get
:
K
=>
ZIO
[
R
,
E
,
V
])
Attributes
Companion
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
Show all
Members list
Clear all
Value members
Concrete methods
def
cache
(
k
:
K
):
ZIO
[
R
,
E
,
Unit
]
def
cacheAll
(
ks
:
K
*):
ZIO
[
R
,
E
,
Unit
]
def
cacheAllPar
(
ks
:
K
*):
ZIO
[
R
,
E
,
Unit
]
def
check
(
k
:
K
,
logLevel
:
LogLevel
):
UIO
[
Option
[
V
]]
def
dumpState
(
logLevel
:
LogLevel
,
showKey
:
K
=>
String
,
showValue
:
V
=>
String
):
UIO
[
Unit
]
def
getOrFetch
(
k
:
K
,
logLevel
:
LogLevel
):
ZIO
[
R
,
E
,
V
]
def
invalidate
(
k
:
K
):
UIO
[
Unit
]
def
invalidateAll
(
ks
:
K
*):
UIO
[
Unit
]
def
invalidateAll
:
UIO
[
Unit
]
def
invalidateExpired
:
UIO
[
Int
]
def
invalidateValues
(
f
:
V
=>
Boolean
):
UIO
[
Unit
]
def
isCached
(
k
:
K
):
UIO
[
Boolean
]
def
put
(
k
:
K
,
v
:
V
):
UIO
[
Unit
]
def
putAll
(
pairs
: (
K
,
V
)*):
UIO
[
Unit
]
def
refreshAll
:
ZIO
[
R
,
E
,
Unit
]
def
refreshAllPar
:
ZIO
[
R
,
E
,
Unit
]
Inherited methods
def
productElementNames
:
Iterator
[
String
]
Attributes
Inherited from:
Product
def
productIterator
:
Iterator
[
Any
]
Attributes
Inherited from:
Product
In this article
Attributes
Members list
Value members
Concrete methods
Inherited methods