private void loadCaches() {
basicCache = slaveState.getTrait(BasicOperations.class).getCache(generalConfiguration.cacheName);
ConditionalOperations conditionalOperations = slaveState.getTrait(ConditionalOperations.class);
conditionalCache = conditionalOperations == null ? null : conditionalOperations.getCache(generalConfiguration.cacheName);
Debugable debugable = slaveState.getTrait(Debugable.class);
debugableCache = debugable == null ? null : debugable.getCache(generalConfiguration.cacheName);
if (generalConfiguration.transactionSize > 0) {
transactional = slaveState.getTrait(Transactional.class);
if (transactional == null) {
throw new IllegalArgumentException("Transactions are set on but the service does not provide transactions");
} else if (transactional.getConfiguration(generalConfiguration.cacheName) == Transactional.Configuration.NON_TRANSACTIONAL) {