A B C D E F G H I K L M N O P Q R S T V

A

add(MCElement) - Method in class com.thimbleware.jmemcached.Cache
Add an element to the cache
ADD - Static variable in interface com.thimbleware.jmemcached.Commands
 
add(MCElement) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Add an element to the cache

B

bytes_read - Static variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
bytes_written - Static variable in class com.thimbleware.jmemcached.ServerSessionHandler
 

C

Cache - Class in com.thimbleware.jmemcached
 
Cache(CacheStorage) - Constructor for class com.thimbleware.jmemcached.Cache
Construct the server session handler
cache - Variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
cacheStorage - Variable in class com.thimbleware.jmemcached.Cache
 
CacheStorage - Interface in com.thimbleware.jmemcached
Interface for a cache usable by the daemon.
clear() - Method in class com.thimbleware.jmemcached.LRUCache
Start from beginning, and remove all items from the cache; if cache is disabled, do nothing.
cmd - Variable in class com.thimbleware.jmemcached.CommandMessage
 
com.thimbleware.jmemcached - package com.thimbleware.jmemcached
 
CommandDecoder - Class in com.thimbleware.jmemcached
MINA MessageDecoderAdapter responsible for parsing inbound lines from the memcached protocol session.
CommandDecoder() - Constructor for class com.thimbleware.jmemcached.CommandDecoder
 
CommandMessage - Class in com.thimbleware.jmemcached
The payload object holding the parsed message.
CommandMessage(String) - Constructor for class com.thimbleware.jmemcached.CommandMessage
 
Commands - Interface in com.thimbleware.jmemcached
 
count() - Method in interface com.thimbleware.jmemcached.CacheStorage
 
count() - Method in class com.thimbleware.jmemcached.LRUCache
 
count() - Method in class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 
curr_bytes - Static variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
curr_conns - Variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
currentItems - Variable in class com.thimbleware.jmemcached.Cache
 

D

data - Variable in class com.thimbleware.jmemcached.MCElement
 
data_length - Variable in class com.thimbleware.jmemcached.MCElement
 
decodable(IoSession, ByteBuffer) - Method in class com.thimbleware.jmemcached.CommandDecoder
Checks the specified buffer is decodable by this decoder.
decode(IoSession, ByteBuffer, ProtocolDecoderOutput) - Method in class com.thimbleware.jmemcached.CommandDecoder
Actually decodes inbound data from the memcached protocol session.
DECODER - Static variable in class com.thimbleware.jmemcached.CommandDecoder
 
DECR - Static variable in interface com.thimbleware.jmemcached.Commands
 
delete(String, int) - Method in class com.thimbleware.jmemcached.Cache
Handle the deletion of an item from the cache.
DELETE - Static variable in interface com.thimbleware.jmemcached.Commands
 
delete(String, int) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Handle the deletion of an item from the cache.

E

element - Variable in class com.thimbleware.jmemcached.CommandMessage
 
encode(IoSession, Object, ProtocolEncoderOutput) - Method in class com.thimbleware.jmemcached.ResponseEncoder
 
ENCODER - Static variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
exceptionCaught(IoSession, Throwable) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Triggered when an exception is caught by the protocol handler
expire - Variable in class com.thimbleware.jmemcached.MCElement
 

F

flags - Variable in class com.thimbleware.jmemcached.MCElement
 
flush_all() - Method in class com.thimbleware.jmemcached.Cache
Flush all cache entries
flush_all(int) - Method in class com.thimbleware.jmemcached.Cache
Flush all cache entries with a timestamp after a given expiration time
FLUSH_ALL - Static variable in interface com.thimbleware.jmemcached.Commands
 
flush_all() - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Flush all cache entries
flush_all(int) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Flush all cache entries with a timestamp after a given expiration time
flushAll() - Method in interface com.thimbleware.jmemcached.CacheStorage
Flush all entries from the cache
flushAll() - Method in class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 

G

get(String) - Method in class com.thimbleware.jmemcached.Cache
Get an element from the cache
get(String) - Method in interface com.thimbleware.jmemcached.CacheStorage
Retrieve an element from the cache.
GET - Static variable in interface com.thimbleware.jmemcached.Commands
 
get(ID_TYPE) - Method in class com.thimbleware.jmemcached.LRUCache
Retrieve an existing item from the cache.
get(String) - Method in class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 
get(String) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Get an element from the cache
get_add(String, int) - Method in class com.thimbleware.jmemcached.Cache
Increment an (integer) element inthe cache
get_add(String, int) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Increment an (integer) element inthe cache
getCache() - Method in class com.thimbleware.jmemcached.MemCacheDaemon
 
getCeilingSize() - Method in class com.thimbleware.jmemcached.LRUCache
 
getCmds - Variable in class com.thimbleware.jmemcached.Cache
 
getCurrentBytes() - Method in class com.thimbleware.jmemcached.Cache
 
getCurrentItems() - Method in class com.thimbleware.jmemcached.Cache
 
getGetCmds() - Method in class com.thimbleware.jmemcached.Cache
 
getGetHits() - Method in class com.thimbleware.jmemcached.Cache
 
getGetMisses() - Method in class com.thimbleware.jmemcached.Cache
 
getHits - Variable in class com.thimbleware.jmemcached.Cache
 
getLimitMaxBytes() - Method in class com.thimbleware.jmemcached.Cache
 
getMaximumItems() - Method in class com.thimbleware.jmemcached.LRUCache
 
getMaximumSize() - Method in class com.thimbleware.jmemcached.LRUCache
 
getMessageTypes() - Method in class com.thimbleware.jmemcached.ResponseEncoder
 
getMisses - Variable in class com.thimbleware.jmemcached.Cache
 
getSetCmds() - Method in class com.thimbleware.jmemcached.Cache
 
getSize() - Method in class com.thimbleware.jmemcached.LRUCache
 
getTotalItems() - Method in class com.thimbleware.jmemcached.Cache
 

H

has(ID_TYPE) - Method in class com.thimbleware.jmemcached.LRUCache
Return true only if the corresponding item is in the cache, and has been in it for no more that fRefreshInterval milliseconds; if caching is disabled, then always return false.

I

idle_limit - Variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
INCR - Static variable in interface com.thimbleware.jmemcached.Commands
 
initStats() - Method in class com.thimbleware.jmemcached.Cache
Initialize all statistic counters
initStats() - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Initialize all statistic counters
is_there(String) - Method in class com.thimbleware.jmemcached.Cache
Check whether an element is in the cache and non-expired
is_there(String) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Check whether an element is in the cache and non-expired

K

keys() - Method in class com.thimbleware.jmemcached.Cache
 
keys() - Method in interface com.thimbleware.jmemcached.CacheStorage
 
keys - Variable in class com.thimbleware.jmemcached.CommandMessage
 
keys() - Method in class com.thimbleware.jmemcached.LRUCache
 
keys() - Method in class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 
keystring - Variable in class com.thimbleware.jmemcached.MCElement
 

L

LRUCache<ID_TYPE,ITEM_TYPE> - Class in com.thimbleware.jmemcached
Simple non-thread-safe LRU hash map cache.
LRUCache(int, long, long) - Constructor for class com.thimbleware.jmemcached.LRUCache
Caches are created as empty, and populated through use.
LRUCacheStorageDelegate - Class in com.thimbleware.jmemcached
A delegate around the internal thread-safe LRUCache implementation.
LRUCacheStorageDelegate(int, long, long) - Constructor for class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 

M

Main - Class in com.thimbleware.jmemcached
Command line interface to the Java memcache daemon.
Main() - Constructor for class com.thimbleware.jmemcached.Main
 
main(String[]) - Static method in class com.thimbleware.jmemcached.Main
 
maxSize() - Method in interface com.thimbleware.jmemcached.CacheStorage
 
maxSize() - Method in class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 
MCElement - Class in com.thimbleware.jmemcached
Represents information about a cache entry.
MCElement() - Constructor for class com.thimbleware.jmemcached.MCElement
 
MemCacheDaemon - Class in com.thimbleware.jmemcached
The actual daemon - responsible for the binding and configuration of the network configuration.
MemCacheDaemon() - Constructor for class com.thimbleware.jmemcached.MemCacheDaemon
 
MemcachedProtocolCodecFactory - Class in com.thimbleware.jmemcached
 
MemcachedProtocolCodecFactory() - Constructor for class com.thimbleware.jmemcached.MemcachedProtocolCodecFactory
 
memcachedVersion - Static variable in class com.thimbleware.jmemcached.MemCacheDaemon
 
messageReceived(IoSession, Object) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Handle the reception of an inbound command, which has already been pre-processed by the CommandDecoder.
messageSent(IoSession, Object) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Called on message delivery.

N

Now() - Method in class com.thimbleware.jmemcached.Cache
 
Now() - Method in class com.thimbleware.jmemcached.CommandDecoder
 
Now() - Method in class com.thimbleware.jmemcached.ServerSessionHandler
 

O

out - Variable in class com.thimbleware.jmemcached.ResponseMessage
 

P

put(String, MCElement) - Method in interface com.thimbleware.jmemcached.CacheStorage
Put an entry into the cache or replace an existing entry.
put(ID_TYPE, ITEM_TYPE, long) - Method in class com.thimbleware.jmemcached.LRUCache
If the item is already present, then replace it; otherwise, add it.
put(String, MCElement) - Method in class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 

Q

QUIT - Static variable in interface com.thimbleware.jmemcached.Commands
 

R

remove(String) - Method in interface com.thimbleware.jmemcached.CacheStorage
Remove an entry from the cache
remove(ID_TYPE) - Method in class com.thimbleware.jmemcached.LRUCache
Remove an entry from the cache
remove(String) - Method in class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 
replace(MCElement) - Method in class com.thimbleware.jmemcached.Cache
Replace an element in the cache
REPLACE - Static variable in interface com.thimbleware.jmemcached.Commands
 
replace(MCElement) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Replace an element in the cache
ResponseEncoder - Class in com.thimbleware.jmemcached
MINA MessageEncoder responsible for writing a ResponseMessage into the network stream.
ResponseEncoder() - Constructor for class com.thimbleware.jmemcached.ResponseEncoder
 
ResponseMessage - Class in com.thimbleware.jmemcached
Represents an outbound response on the network stream.
ResponseMessage() - Constructor for class com.thimbleware.jmemcached.ResponseMessage
 

S

ServerSessionHandler - Class in com.thimbleware.jmemcached
The heart of the daemon, responsible for handling the creation and destruction of network sessions, keeping cache statistics, and (most importantly) processing inbound (parsed) commands and then passing on a response message for output.
ServerSessionHandler(Cache, String, boolean, int) - Constructor for class com.thimbleware.jmemcached.ServerSessionHandler
Construct the server session handler
sessionClosed(IoSession) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Handle the closing of a session.
sessionCreated(IoSession) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Handle the creation of a new protocol session.
sessionIdle(IoSession, IdleStatus) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Triggered when a session has gone idle.
sessionOpened(IoSession) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Handle the opening of a new session.
set(MCElement) - Method in class com.thimbleware.jmemcached.Cache
Set an element in the cache
SET - Static variable in interface com.thimbleware.jmemcached.Commands
 
set(MCElement) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Set an element in the cache
setAddr(InetSocketAddress) - Method in class com.thimbleware.jmemcached.MemCacheDaemon
 
setCache(Cache) - Method in class com.thimbleware.jmemcached.MemCacheDaemon
 
setCmds - Variable in class com.thimbleware.jmemcached.Cache
 
setIdleTime(int) - Method in class com.thimbleware.jmemcached.MemCacheDaemon
 
setMemcachedVersion(String) - Static method in class com.thimbleware.jmemcached.MemCacheDaemon
 
setPort(int) - Method in class com.thimbleware.jmemcached.MemCacheDaemon
 
setReceiveBufferSize(int) - Method in class com.thimbleware.jmemcached.MemCacheDaemon
 
setSendBufferSize(int) - Method in class com.thimbleware.jmemcached.MemCacheDaemon
 
setVerbose(boolean) - Method in class com.thimbleware.jmemcached.MemCacheDaemon
 
size() - Method in interface com.thimbleware.jmemcached.CacheStorage
 
size() - Method in class com.thimbleware.jmemcached.LRUCacheStorageDelegate
 
start() - Method in class com.thimbleware.jmemcached.MemCacheDaemon
Bind the network connection and start the network processing threads.
started - Variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
stat(String) - Method in class com.thimbleware.jmemcached.ServerSessionHandler
Return runtime statistics
STATS - Static variable in interface com.thimbleware.jmemcached.Commands
 

T

total_conns - Variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
totalItems - Variable in class com.thimbleware.jmemcached.Cache
 

V

verbose - Variable in class com.thimbleware.jmemcached.ServerSessionHandler
 
VERSION - Static variable in interface com.thimbleware.jmemcached.Commands
 
version - Variable in class com.thimbleware.jmemcached.ServerSessionHandler
 

A B C D E F G H I K L M N O P Q R S T V

Copyright © 2008. All Rights Reserved.