Package net.hydromatic.quidem
Interface Quidem.Config
-
- Enclosing class:
- Quidem
public static interface Quidem.ConfigThe information needed to start Quidem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandHandlercommandHandler()Quidem.ConnectionFactoryconnectionFactory()Function<String,Object>env()Quidem.PropertyHandlerpropertyHandler()Readerreader()intstackLimit()Returns the maximum number of characters of an error stack to be printed.Writerwriter()
-
-
-
Method Detail
-
reader
Reader reader()
-
writer
Writer writer()
-
connectionFactory
Quidem.ConnectionFactory connectionFactory()
-
commandHandler
CommandHandler commandHandler()
-
propertyHandler
Quidem.PropertyHandler propertyHandler()
-
stackLimit
int stackLimit()
Returns the maximum number of characters of an error stack to be printed.If negative, does not limit the stack size.
The default is
Quidem.DEFAULT_MAX_STACK_LENGTH.Useful because it prevents
difffrom running out of memory if the error stack is very large. It is preferable to produce a result where you can see the first N characters of each stack trace than to produce no result at all.
-
-