2015/07/26 - Apache DirectMemory has been retired.
For more information, please explore the
Attic
.
Apache DirectMemory
Package Index
|
Class Index
net.sf.ehcache
net.sf.ehcache.store.offheap
org.apache.directmemory
org.apache.directmemory.cache
org.apache.directmemory.conf
org.apache.directmemory.ehcache
org.apache.directmemory.guava
org.apache.directmemory.measures
org.apache.directmemory.memory
org.apache.directmemory.memory.allocator
org.apache.directmemory.memory.buffer
org.apache.directmemory.serialization
org.apache.directmemory.serialization.kryo
org.apache.directmemory.serialization.msgpack
org.apache.directmemory.serialization.protobuf
org.apache.directmemory.serialization.protostuff
org.apache.directmemory.server.client
org.apache.directmemory.server.client.providers.asynchttpclient
org.apache.directmemory.server.client.providers.httpclient
org.apache.directmemory.server.commons
org.apache.directmemory.server.services
org.apache.directmemory.solr
org.apache.directmemory.test
org.apache.directmemory.utils
Interfaces
DirectMemoryClient
DirectMemoryHttpClient
Classes
AbstractDirectMemoryHttpClient
DefaultDirectMemoryClient
DirectMemoryClientBuilder
DirectMemoryClientConfiguration
Package Index
|
Class Index
Summary:
Fields
|
Protected Ctors
|
Methods
|
Protected Methods
|
Inherited Methods
|
[Expand All]
public class
DirectMemoryClientBuilder
extends
Object
java.lang.Object
↳
org.apache.directmemory.server.client.DirectMemoryClientBuilder
Summary
Fields
public static final
String
DEFAULT_HTTP_CLIENT_INSTANCE
Protected Constructors
DirectMemoryClientBuilder
()
DirectMemoryClientBuilder
(
DirectMemoryClientConfiguration
configuration)
Public Methods
DirectMemoryClient
buildClient
()
DirectMemoryClientBuilder
forExchangeType
(
ExchangeType
exchangeType)
static
DirectMemoryClientBuilder
newBuilder
(
DirectMemoryClientConfiguration
configuration)
static
DirectMemoryClientBuilder
newBuilder
()
DirectMemoryClientBuilder
onPort
(int port)
DirectMemoryClientBuilder
toHost
(
String
host)
DirectMemoryClientBuilder
toHttpPath
(
String
HttpPath)
DirectMemoryClientBuilder
withConnectionTimeOut
(long connectionTimeOut)
DirectMemoryClientBuilder
withHttpClientClassName
(
String
HttpClientClassName)
DirectMemoryClientBuilder
withMaxConcurentConnections
(int maxConcurentConnections)
DirectMemoryClientBuilder
withReadTimeOut
(long readTimeOut)
DirectMemoryClientBuilder
withSerializer
(
Serializer
serializer)
Protected Methods
DirectMemoryHttpClient
buildDirectMemoryHttpClient
()
[Expand]
Inherited Methods
From class
java.lang.Object
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
Fields
public static final
String
DEFAULT_HTTP_CLIENT_INSTANCE
Protected Constructors
protected
DirectMemoryClientBuilder
()
protected
DirectMemoryClientBuilder
(
DirectMemoryClientConfiguration
configuration)
Public Methods
public
DirectMemoryClient
buildClient
()
Throws
DirectMemoryException
public
DirectMemoryClientBuilder
forExchangeType
(
ExchangeType
exchangeType)
public static
DirectMemoryClientBuilder
newBuilder
(
DirectMemoryClientConfiguration
configuration)
public static
DirectMemoryClientBuilder
newBuilder
()
public
DirectMemoryClientBuilder
onPort
(int port)
public
DirectMemoryClientBuilder
toHost
(
String
host)
public
DirectMemoryClientBuilder
toHttpPath
(
String
HttpPath)
public
DirectMemoryClientBuilder
withConnectionTimeOut
(long connectionTimeOut)
public
DirectMemoryClientBuilder
withHttpClientClassName
(
String
HttpClientClassName)
public
DirectMemoryClientBuilder
withMaxConcurentConnections
(int maxConcurentConnections)
public
DirectMemoryClientBuilder
withReadTimeOut
(long readTimeOut)
public
DirectMemoryClientBuilder
withSerializer
(
Serializer
serializer)
Protected Methods
protected
DirectMemoryHttpClient
buildDirectMemoryHttpClient
()