Package org.infinispan.hotrod.impl
Class HotRodTransport
java.lang.Object
org.infinispan.hotrod.impl.HotRodTransport
- All Implemented Interfaces:
AutoCloseable
- Since:
- 14.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]static byte[]cacheNameBytes(String cacheName) voidclose()createCacheOperationFactory(String cacheName, ClientStatistics stats) protected ChannelFactory<K,V> NearCacheService<K, V> createNearCacheService(String cacheName, NearCacheConfiguration cfg) getCodec()org.infinispan.counter.api.CounterManagerorg.infinispan.commons.marshall.Marshaller<K,V> CompletionStage<RemoteCache<K, V>> getRemoteCache(String cacheName) <K,V> CompletionStage<RemoteCache<K, V>> getRemoteCache(String cacheName, RemoteCacheConfiguration cacheConfiguration) org.infinispan.commons.time.TimeServicegetTransactionTable(TransactionMode transactionMode) booleanremoveCache(String cacheName) voidstart()
-
Constructor Details
-
HotRodTransport
-
-
Method Details
-
createChannelFactory
-
getMBeanHelper
-
getConfiguration
-
getTimeService
public org.infinispan.commons.time.TimeService getTimeService() -
getMarshallerRegistry
-
getChannelFactory
-
getMarshaller
public org.infinispan.commons.marshall.Marshaller getMarshaller() -
getCounterManager
public org.infinispan.counter.api.CounterManager getCounterManager() -
getCodec
-
getXaTransactionTable
-
getTransactionTable
-
createNearCacheService
public <K,V> NearCacheService<K,V> createNearCacheService(String cacheName, NearCacheConfiguration cfg) -
createCacheOperationFactory
-
start
public void start() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
isStarted
public boolean isStarted() -
getRemoteCache
-
getRemoteCache
public <K,V> CompletionStage<RemoteCache<K,V>> getRemoteCache(String cacheName, RemoteCacheConfiguration cacheConfiguration) -
removeCache
-
getCacheNames
-
getTemplateNames
-
cacheNameBytes
-
cacheNameBytes
public static byte[] cacheNameBytes()
-