Package org.infinispan.hotrod.impl
Class HotRodTransport
- java.lang.Object
-
- org.infinispan.hotrod.impl.HotRodTransport
-
- All Implemented Interfaces:
AutoCloseable
public class HotRodTransport extends Object implements AutoCloseable
- Since:
- 14.0
-
-
Constructor Summary
Constructors Constructor Description HotRodTransport(HotRodConfiguration configuration)
-
Method Summary
-
-
-
Constructor Detail
-
HotRodTransport
public HotRodTransport(HotRodConfiguration configuration)
-
-
Method Detail
-
getMBeanHelper
public MBeanHelper getMBeanHelper()
-
getConfiguration
public HotRodConfiguration getConfiguration()
-
getTimeService
public org.infinispan.commons.time.TimeService getTimeService()
-
getMarshallerRegistry
public MarshallerRegistry getMarshallerRegistry()
-
getChannelFactory
public ChannelFactory getChannelFactory()
-
getMarshaller
public org.infinispan.commons.marshall.Marshaller getMarshaller()
-
getCounterManager
public org.infinispan.counter.api.CounterManager getCounterManager()
-
getCodec
public Codec getCodec()
-
getXaTransactionTable
public XaModeTransactionTable getXaTransactionTable()
-
getTransactionTable
public TransactionTable getTransactionTable(TransactionMode transactionMode)
-
createNearCacheService
public <K,V> NearCacheService<K,V> createNearCacheService(String cacheName, NearCacheConfiguration cfg)
-
createCacheOperationFactory
public CacheOperationsFactory createCacheOperationFactory(String cacheName, ClientStatistics stats)
-
start
public void start()
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
isStarted
public boolean isStarted()
-
getRemoteCache
public <K,V> CompletionStage<RemoteCache<K,V>> getRemoteCache(String cacheName)
-
getRemoteCache
public <K,V> CompletionStage<RemoteCache<K,V>> getRemoteCache(String cacheName, RemoteCacheConfiguration cacheConfiguration)
-
removeCache
public CompletionStage<Void> removeCache(String cacheName)
-
getCacheNames
public CompletionStage<Set<String>> getCacheNames()
-
getTemplateNames
public CompletionStage<Set<String>> getTemplateNames()
-
cacheNameBytes
public static byte[] cacheNameBytes(String cacheName)
-
cacheNameBytes
public static byte[] cacheNameBytes()
-
-