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
Classes
AbstractDirectMemoryExchange
<V>
DirectMemoryConstants
DirectMemoryHttpConstants
DirectMemoryParser
DirectMemoryRequest
<V>
DirectMemoryResponse
<V>
DirectMemoryWriter
Enums
ExchangeType
Exceptions
DirectMemoryException
Package Index
|
Class Index
Summary:
Fields
|
Ctors
|
Methods
|
Inherited Methods
|
[Expand All]
public abstract class
AbstractDirectMemoryExchange
extends
Object
java.lang.Object
↳
org.apache.directmemory.server.commons.AbstractDirectMemoryExchange<V>
Known Direct Subclasses
DirectMemoryRequest
<V>,
DirectMemoryResponse
<V>
DirectMemoryRequest
<V>
json format request: {"DirectMemoryRQ":{"key":"101","put":true,"expiresIn":123, "cacheContent":""}}
cache content is byte[] ie object serialisation
DirectMemoryResponse
<V>
json format response: {"DirectMemoryRS":{"found":true,"updated":false,"key":"foo","cacheContent":""}}
cache content is byte[] ie object serialisation
Summary
Fields
protected byte[]
cacheContent
Public Constructors
AbstractDirectMemoryExchange
()
Public Methods
byte[]
getCacheContent
()
String
getKey
()
V
getObject
()
Serializer
getSerializer
()
AbstractDirectMemoryExchange
setCacheContent
(byte[] cacheContent)
AbstractDirectMemoryExchange
setKey
(
String
key)
AbstractDirectMemoryExchange
setObject
(V object)
AbstractDirectMemoryExchange
setSerializer
(
Serializer
serializer)
[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
protected byte[]
cacheContent
Public Constructors
public
AbstractDirectMemoryExchange
()
Public Methods
public byte[]
getCacheContent
()
public
String
getKey
()
public V
getObject
()
public
Serializer
getSerializer
()
public
AbstractDirectMemoryExchange
setCacheContent
(byte[] cacheContent)
public
AbstractDirectMemoryExchange
setKey
(
String
key)
public
AbstractDirectMemoryExchange
setObject
(V object)
public
AbstractDirectMemoryExchange
setSerializer
(
Serializer
serializer)