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

A

addCombination(Combination) - Method in class com.karmasphere.client.common.Response
 
addComposite(String) - Method in class com.karmasphere.client.common.Query
 
addComposites(Set<String>) - Method in class com.karmasphere.client.common.Query
 
addFact(Fact) - Method in class com.karmasphere.client.common.Response
 
addFeed(String) - Method in class com.karmasphere.client.common.Query
 
addFeeds(Set<String>) - Method in class com.karmasphere.client.common.Query
 
addIdentities(Set<Id>) - Method in class com.karmasphere.client.common.Query
 
addIdentity(Id) - Method in class com.karmasphere.client.common.Query
 
addIdentity(String, IdentityType, Set<String>) - Method in class com.karmasphere.client.common.Query
 
addIdentity(String, IdentityType, String) - Method in class com.karmasphere.client.common.Query
 
addIdentity(String, IdentityType) - Method in class com.karmasphere.client.common.Query
 
addIdentity(String, String, Set<String>) - Method in class com.karmasphere.client.common.Query
 
addIdentity(String, String, String) - Method in class com.karmasphere.client.common.Query
 
addIdentity(String, String) - Method in class com.karmasphere.client.common.Query
 
ArrayUtil - Class in com.karmasphere.share.util
 
ArrayUtil() - Constructor for class com.karmasphere.share.util.ArrayUtil
 
ask(Query) - Method in class com.karmasphere.client.bquery.BQueryClient
 
ask(Query) - Method in class com.karmasphere.client.common.Client
 
AUTHENTIC - Static variable in class com.karmasphere.share.constants.IdentityTags
Has this identity been verified authentic by the client.

B

BDecoder - Class in com.karmasphere.share.bencode
 
BDecoder() - Constructor for class com.karmasphere.share.bencode.BDecoder
 
BeanTransformer - Class in com.karmasphere.share.transform
 
BeanTransformer() - Constructor for class com.karmasphere.share.transform.BeanTransformer
 
BEncoder - Class in com.karmasphere.share.bencode
 
BEncoder() - Constructor for class com.karmasphere.share.bencode.BEncoder
 
BException - Exception in com.karmasphere.share.bencode
 
BException(String) - Constructor for exception com.karmasphere.share.bencode.BException
 
BQueryClient - Class in com.karmasphere.client.bquery
 
BQueryClient(String, int, BQueryClient.Proto, boolean) - Constructor for class com.karmasphere.client.bquery.BQueryClient
 
BQueryClient(String, int, BQueryClient.Proto) - Constructor for class com.karmasphere.client.bquery.BQueryClient
 
BQueryClient(String, BQueryClient.Proto) - Constructor for class com.karmasphere.client.bquery.BQueryClient
 
BQueryClient(String) - Constructor for class com.karmasphere.client.bquery.BQueryClient
 
BQueryClient() - Constructor for class com.karmasphere.client.bquery.BQueryClient
 
BQueryClient.Proto - Enum in com.karmasphere.client.bquery
 
BQueryConstants - Class in com.karmasphere.share.constants
 
BQueryException - Exception in com.karmasphere.client.bquery
 
BQueryException(String) - Constructor for exception com.karmasphere.client.bquery.BQueryException
 
BQueryException(String, Throwable) - Constructor for exception com.karmasphere.client.bquery.BQueryException
 
ByteArrayInputBuffer - Class in com.karmasphere.share.util
Add functionality to java.io.ByteArrayInputStream which is missing.
ByteArrayInputBuffer() - Constructor for class com.karmasphere.share.util.ByteArrayInputBuffer
Create a new ByteArrayInputBuffer with an empty buffer
ByteArrayInputBuffer(byte[]) - Constructor for class com.karmasphere.share.util.ByteArrayInputBuffer
Create a new ByteArrayInputBuffer with the specified buffer.

C

CHARSET - Static variable in class com.karmasphere.share.persist.IdentityType
 
Client - Class in com.karmasphere.client.common
 
Client() - Constructor for class com.karmasphere.client.common.Client
 
collate(Set<V>, Functor<V, K>) - Static method in class com.karmasphere.share.util.MapUtil
Returns map { f(\$_) => { \$_ } }
collate(Set<I>, Functor<I, K>, Functor<I, V>) - Static method in class com.karmasphere.share.util.MapUtil
Returns map { f(\$_) => { g(\$_) } }
CollectionUtil - Class in com.karmasphere.share.util
 
com.karmasphere.client.bquery - package com.karmasphere.client.bquery
 
com.karmasphere.client.common - package com.karmasphere.client.common
 
com.karmasphere.server.handler.share - package com.karmasphere.server.handler.share
 
com.karmasphere.share.bencode - package com.karmasphere.share.bencode
 
com.karmasphere.share.constants - package com.karmasphere.share.constants
 
com.karmasphere.share.persist - package com.karmasphere.share.persist
 
com.karmasphere.share.persist.idtype - package com.karmasphere.share.persist.idtype
 
com.karmasphere.share.transform - package com.karmasphere.share.transform
 
com.karmasphere.share.util - package com.karmasphere.share.util
 
Combination - Class in com.karmasphere.client.common
A combination of Facts into an aggregate result.
Combination() - Constructor for class com.karmasphere.client.common.Combination
 
Combination - Class in com.karmasphere.share.persist
A combination of Facts into an aggregate result.
Combination(int, String) - Constructor for class com.karmasphere.share.persist.Combination
 
Combination(int) - Constructor for class com.karmasphere.share.persist.Combination
 
compare(byte[], byte[]) - Static method in class com.karmasphere.share.util.ObjectUtil
 
compareTo(Identity) - Method in class com.karmasphere.share.persist.Identity
 
compareTo(Object) - Method in class com.karmasphere.share.persist.IdentityType
Compares this IdentityType with another IdentityType.
Condition<I> - Interface in com.karmasphere.share.util
A condition.
CREDIBILITY - Static variable in class com.karmasphere.server.handler.share.DnsClient
 

D

debug(String, String) - Method in class com.karmasphere.share.util.Debugger
 
debug(String, Throwable) - Method in class com.karmasphere.share.util.Debugger
 
Debugger - Class in com.karmasphere.share.util
 
Debugger() - Constructor for class com.karmasphere.share.util.Debugger
 
decode(byte[]) - Method in class com.karmasphere.share.bencode.BDecoder
 
decode(byte[], int, int) - Method in class com.karmasphere.share.bencode.BDecoder
 
decode(ByteBuffer) - Method in class com.karmasphere.share.bencode.BDecoder
 
DEFAULT - Static variable in class com.karmasphere.client.common.Response
 
DEFAULT_HOST - Static variable in class com.karmasphere.client.bquery.BQueryClient
 
DEFAULT_HOST - Static variable in class com.karmasphere.server.handler.share.DnsDatagramChannelHandler
 
DEFAULT_PORT - Static variable in class com.karmasphere.client.bquery.BQueryClient
 
DEFAULT_PORT - Static variable in class com.karmasphere.server.handler.share.DnsDatagramChannelHandler
 
DnsClient - Class in com.karmasphere.server.handler.share
A DnsClient wrapper.
DnsClient(HandlerMap) - Constructor for class com.karmasphere.server.handler.share.DnsClient
Create a new DnsClient with the specified HandlerMap.
DnsDatagramChannelHandler - Class in com.karmasphere.server.handler.share
 
DOMAIN - Static variable in class com.karmasphere.share.persist.IdentityType
 
DomainIdentityType - Class in com.karmasphere.share.persist.idtype
 
DomainIdentityType() - Constructor for class com.karmasphere.share.persist.idtype.DomainIdentityType
 
doQuery(BQueryClient, Set<String>, Set<String>, Set<Id>) - Static method in class com.karmasphere.client.bquery.Main
 
dump(ByteBuffer) - Static method in class com.karmasphere.share.util.HexDumpUtil
 
dump(byte[]) - Static method in class com.karmasphere.share.util.HexDumpUtil
 
dump(InputStream, Writer) - Static method in class com.karmasphere.share.util.HexDumpUtil
 

E

EMAIL - Static variable in class com.karmasphere.share.persist.IdentityType
 
EmailIdentityType - Class in com.karmasphere.share.persist.idtype
 
EmailIdentityType() - Constructor for class com.karmasphere.share.persist.idtype.EmailIdentityType
 
encode(Object) - Method in class com.karmasphere.share.bencode.BEncoder
 
equals(Object) - Method in class com.karmasphere.share.persist.Fact
 
equals(Object) - Method in class com.karmasphere.share.persist.Identity
 
equals(Object) - Method in class com.karmasphere.share.persist.IdentityType
Returns true if the argument is this IdentityType.
equals(Object) - Method in class com.karmasphere.share.persist.PersistentContainer
 
equals(Object) - Method in class com.karmasphere.share.persist.PersistentRecord
 
equals(byte[], byte[]) - Static method in class com.karmasphere.share.util.ObjectUtil
Deprecated. Use Arrays.equals(byte[],byte[])
equals(Object, Object) - Static method in class com.karmasphere.share.util.ObjectUtil
 
evaluate(I) - Method in interface com.karmasphere.share.util.Condition
 
evaluate(I) - Method in interface com.karmasphere.share.util.Functor
 
ExceptionUtil - Class in com.karmasphere.share.util
 
ExceptionUtil() - Constructor for class com.karmasphere.share.util.ExceptionUtil
 

F

Fact - Class in com.karmasphere.client.common
 
Fact() - Constructor for class com.karmasphere.client.common.Fact
 
Fact - Class in com.karmasphere.share.persist
 
Fact(Feed, Identity, int, String) - Constructor for class com.karmasphere.share.persist.Fact
 
Fact(Feed, Identity) - Constructor for class com.karmasphere.share.persist.Fact
 
Feed - Class in com.karmasphere.share.persist
 
Feed(String, int, int) - Constructor for class com.karmasphere.share.persist.Feed
 
Feed(String) - Constructor for class com.karmasphere.share.persist.Feed
 
Feed(String, IdentityType, String, String, int, int, int, int, String, int, int) - Constructor for class com.karmasphere.share.persist.Feed
 
Feed(String, int, String, String, int, int, int, int, String, int, int) - Constructor for class com.karmasphere.share.persist.Feed
 
filter(Set<T>) - Method in class com.karmasphere.share.persist.IdentityType
 
filter(List<I>, Condition<C>) - Static method in class com.karmasphere.share.util.CollectionUtil
Behaves like Perl's grep { f($) }.
filter(Set<I>, Condition<C>) - Static method in class com.karmasphere.share.util.CollectionUtil
Behaves like Perl's grep { f($) }.
FLAG_FACTS - Static variable in class com.karmasphere.share.constants.BQueryConstants
Include all facts in the response.
fromString(String) - Method in class com.karmasphere.share.persist.IdentityType
Converts a "common" human-readable version the identity data to a byte array.
fromString(String) - Method in class com.karmasphere.share.persist.idtype.DomainIdentityType
 
fromString(String) - Method in class com.karmasphere.share.persist.idtype.EmailIdentityType
 
fromString(String) - Method in class com.karmasphere.share.persist.idtype.Ip4IdentityType
 
fromString(String) - Method in class com.karmasphere.share.persist.idtype.Ip6IdentityType
 
fromString(String) - Method in class com.karmasphere.share.persist.idtype.OpaqueIdentityType
 
fromString(String) - Method in class com.karmasphere.share.persist.idtype.UrlIdentityType
 
fromString(SimpleUrl) - Static method in class com.karmasphere.share.persist.idtype.UrlIdentityType
 
Functor<I,O> - Interface in com.karmasphere.share.util
 

G

generate(Object, InetAddress) - Static method in class com.karmasphere.share.util.GuidUtil
 
get(int) - Static method in class com.karmasphere.share.persist.IdentityType
 
get(String) - Static method in class com.karmasphere.share.persist.IdentityType
 
getAdvertType() - Method in class com.karmasphere.share.persist.Feed
 
getAdvertType() - Method in class com.karmasphere.share.persist.PersistentContainer
Returns the 'advert type' for this container class.
getCombination(String) - Method in class com.karmasphere.client.common.Response
 
getCombinations() - Method in class com.karmasphere.client.common.Response
 
getComposites() - Method in class com.karmasphere.client.common.Query
 
getCondition() - Method in class com.karmasphere.share.persist.IdentityType
 
getData() - Method in class com.karmasphere.client.common.Combination
 
getData() - Method in class com.karmasphere.client.common.Fact
 
getData(String) - Method in class com.karmasphere.client.common.Response
 
getData() - Method in class com.karmasphere.share.persist.Combination
 
getData() - Method in class com.karmasphere.share.persist.Fact
 
getData() - Method in class com.karmasphere.share.persist.Identity
Returns the identity data.
getDataString() - Method in class com.karmasphere.share.persist.Identity
 
getDefaultData() - Method in class com.karmasphere.share.persist.Feed
 
getDefaultValue() - Method in class com.karmasphere.share.persist.Feed
 
getDelta() - Method in class com.karmasphere.share.persist.PersistentContainer
Returns the delta number of this container.
getDescription() - Method in class com.karmasphere.share.persist.IdentityType
Returns a short description of this IdentityType.
getDomainPart(byte[]) - Static method in class com.karmasphere.share.persist.idtype.EmailIdentityType
 
getFacts() - Method in class com.karmasphere.client.common.Response
 
getFeed() - Method in class com.karmasphere.client.common.Fact
 
getFeed() - Method in class com.karmasphere.share.persist.Fact
 
getFeeds() - Method in class com.karmasphere.client.common.Query
 
getFlags() - Method in class com.karmasphere.client.common.Query
 
getHandler() - Method in class com.karmasphere.share.persist.Feed
 
getHandlerArg() - Method in class com.karmasphere.share.persist.Feed
 
getHost() - Method in class com.karmasphere.share.util.SimpleUrl
 
getId() - Method in class com.karmasphere.client.common.Query
 
getId() - Method in class com.karmasphere.client.common.Response
 
getId() - Method in class com.karmasphere.share.persist.IdentityType
Returns the id of this IdentityType.
getIdentities() - Method in class com.karmasphere.client.common.Query
 
getIdentity() - Method in class com.karmasphere.client.common.Fact
 
getIdentity() - Method in class com.karmasphere.share.persist.Fact
 
getIdentityType() - Method in class com.karmasphere.share.persist.Feed
 
getIdentityType() - Method in class com.karmasphere.share.persist.Identity
 
getIdentityType() - Method in interface com.karmasphere.share.persist.IdentityType.Discriminated
 
getIdentityTypeId() - Method in class com.karmasphere.share.persist.Feed
 
getIdentityTypeId() - Method in class com.karmasphere.share.persist.Identity
 
getIp4(String) - Static method in class com.karmasphere.share.util.Ip4TypeUtil
 
getKeyname() - Method in class com.karmasphere.share.persist.IdentityType
Returns the keyname of this IdentityType.
getKeyname() - Method in class com.karmasphere.share.persist.PersistentContainer
Returns the keyname of this container.
getLocalPart(byte[]) - Static method in class com.karmasphere.share.persist.idtype.EmailIdentityType
 
getMajor() - Static method in class com.karmasphere.share.constants.Version
 
getMask() - Method in class com.karmasphere.share.persist.Identity
 
getMaxValue() - Method in class com.karmasphere.share.persist.Feed
 
getMessage() - Method in class com.karmasphere.client.common.Response
 
getMinor() - Static method in class com.karmasphere.share.constants.Version
 
getMinValue() - Method in class com.karmasphere.share.persist.Feed
 
getName() - Method in class com.karmasphere.client.common.Combination
 
getName() - Method in class com.karmasphere.share.persist.IdentityType
Returns the human-readable name of this IdentityType.
getNormalizedValue(double) - Method in class com.karmasphere.share.persist.Fact
 
getNormalizedValue() - Method in class com.karmasphere.share.persist.Fact
 
getOffset() - Method in class com.karmasphere.share.util.OffsetInputStream
Get the current offset
getPatch() - Static method in class com.karmasphere.share.constants.Version
 
getPath() - Method in class com.karmasphere.share.util.SimpleUrl
 
getPersistenceKey() - Method in class com.karmasphere.share.persist.Fact
 
getPersistenceKey() - Method in class com.karmasphere.share.persist.PersistentRecord
 
getPersistentContainer() - Method in class com.karmasphere.share.persist.Fact
 
getPersistentContainer() - Method in class com.karmasphere.share.persist.PersistentRecord
 
getQueryTime() - Method in class com.karmasphere.client.common.Response
 
getScheme() - Method in class com.karmasphere.share.util.SimpleUrl
 
getTimeout() - Method in class com.karmasphere.client.bquery.BQueryClient
Returns the socket timeout from the client socket.
getTtl() - Method in class com.karmasphere.share.persist.Feed
 
getTypes() - Static method in class com.karmasphere.share.persist.IdentityType
 
getValue() - Method in class com.karmasphere.client.common.Combination
 
getValue() - Method in class com.karmasphere.client.common.Fact
 
getValue(String) - Method in class com.karmasphere.client.common.Response
 
getValue() - Method in class com.karmasphere.share.persist.Combination
 
getValue() - Method in class com.karmasphere.share.persist.Fact
 
getVersion() - Static method in class com.karmasphere.share.constants.Version
 
getVersion() - Method in class com.karmasphere.share.persist.PersistentContainer
Returns the version number of this container.
GuidUtil - Class in com.karmasphere.share.util
 

H

hashCode() - Method in class com.karmasphere.share.persist.Fact
 
hashCode() - Method in class com.karmasphere.share.persist.Identity
 
hashCode() - Method in class com.karmasphere.share.persist.IdentityType
 
hashCode() - Method in class com.karmasphere.share.persist.PersistentContainer
 
hashCode() - Method in class com.karmasphere.share.persist.PersistentRecord
 
hashCode(byte[]) - Static method in class com.karmasphere.share.util.ObjectUtil
Deprecated. Use Arrays.hashCode(byte[])
hashCode(Object) - Static method in class com.karmasphere.share.util.ObjectUtil
 
hashCode(long) - Static method in class com.karmasphere.share.util.ObjectUtil
 
HexDumpUtil - Class in com.karmasphere.share.util
Utility class to dump a byte array as hex into a string.
HexDumpUtil() - Constructor for class com.karmasphere.share.util.HexDumpUtil
 
hook(String, String) - Static method in class com.karmasphere.share.util.Debugger
 
hook(String, Throwable) - Static method in class com.karmasphere.share.util.Debugger
 
hook(Class, String, String) - Static method in class com.karmasphere.share.util.Debugger
 
hook(Class, String, Throwable) - Static method in class com.karmasphere.share.util.Debugger
 

I

Id - Class in com.karmasphere.client.common
 
Id(String, IdentityType, Set<String>) - Constructor for class com.karmasphere.client.common.Id
 
Id(String, IdentityType) - Constructor for class com.karmasphere.client.common.Id
 
Identity - Class in com.karmasphere.share.persist
A 'holder' class for identity data, used for transformation and hashing.
Identity(IdentityType, byte[], int) - Constructor for class com.karmasphere.share.persist.Identity
 
Identity(int, byte[], int) - Constructor for class com.karmasphere.share.persist.Identity
 
IdentityFormatException - Exception in com.karmasphere.share.persist
 
IdentityFormatException(String) - Constructor for exception com.karmasphere.share.persist.IdentityFormatException
 
IdentityFormatException(Throwable) - Constructor for exception com.karmasphere.share.persist.IdentityFormatException
 
IdentityFormatException(String, Throwable) - Constructor for exception com.karmasphere.share.persist.IdentityFormatException
 
IdentityTags - Class in com.karmasphere.share.constants
 
IdentityType - Class in com.karmasphere.share.persist
 
IdentityType(int, String, String, String) - Constructor for class com.karmasphere.share.persist.IdentityType
 
IdentityType.Discriminated - Interface in com.karmasphere.share.persist
 
INVALID_MASK - Static variable in class com.karmasphere.share.persist.Identity
A marker value for an invalid mask.
IP4 - Static variable in class com.karmasphere.share.persist.IdentityType
 
Ip4IdentityType - Class in com.karmasphere.share.persist.idtype
 
Ip4IdentityType() - Constructor for class com.karmasphere.share.persist.idtype.Ip4IdentityType
 
Ip4TypeUtil - Class in com.karmasphere.share.util
 
IP6 - Static variable in class com.karmasphere.share.persist.IdentityType
 
Ip6IdentityType - Class in com.karmasphere.share.persist.idtype
 
Ip6IdentityType() - Constructor for class com.karmasphere.share.persist.idtype.Ip6IdentityType
 
isError() - Method in class com.karmasphere.client.common.Response
 
isIp4(String) - Static method in class com.karmasphere.share.util.Ip4TypeUtil
 

K

KEYNAME - Static variable in class com.karmasphere.share.persist.idtype.DomainIdentityType
 
KEYNAME - Static variable in class com.karmasphere.share.persist.idtype.EmailIdentityType
 
KEYNAME - Static variable in class com.karmasphere.share.persist.idtype.Ip4IdentityType
 
KEYNAME - Static variable in class com.karmasphere.share.persist.idtype.Ip6IdentityType
 
KEYNAME - Static variable in class com.karmasphere.share.persist.idtype.OpaqueIdentityType
 
KEYNAME - Static variable in class com.karmasphere.share.persist.idtype.UrlIdentityType
 

M

Main - Class in com.karmasphere.client.bquery
Command line variant, this is more or less and cut'n'paste from the C client in several places.
Main() - Constructor for class com.karmasphere.client.bquery.Main
 
main(String[]) - Static method in class com.karmasphere.client.bquery.Main
 
main(String[]) - Static method in class com.karmasphere.share.constants.Version
 
main(String[]) - Static method in class com.karmasphere.share.util.HexDumpUtil
 
map(List<I>, Functor<I, O>) - Static method in class com.karmasphere.share.util.CollectionUtil
Behaves like Perl's map { f($) }
map(Set<I>, Functor<I, O>) - Static method in class com.karmasphere.share.util.CollectionUtil
Behaves like Perl's map { f($) }
map(Set<V>, Functor<V, K>) - Static method in class com.karmasphere.share.util.MapUtil
Behaves like Perl's map { \$_ => f(\$_) }
MapUtil - Class in com.karmasphere.share.util
 
mark(int) - Method in class com.karmasphere.share.util.OffsetInputStream
Mark the stream.
markOffset - Variable in class com.karmasphere.share.util.OffsetInputStream
Marked offset
MATCH_ALWAYS - Static variable in class com.karmasphere.share.constants.MatchConstants
 
MATCH_EXACT - Static variable in class com.karmasphere.share.constants.MatchConstants
 
MATCH_PARTIAL - Static variable in class com.karmasphere.share.constants.MatchConstants
 
MatchConstants - Class in com.karmasphere.share.constants
 
MatchConstants() - Constructor for class com.karmasphere.share.constants.MatchConstants
 
MAX_TCP_QUERY_LENGTH - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
MAX_TYPES - Static variable in class com.karmasphere.share.persist.IdentityType
The maximum number of type ids supported.
MIN_WRAP_TIME - Static variable in class com.karmasphere.server.handler.share.DnsClient
Default minimum time before sending a dns query with repeated id in milliseconds.

N

nextDelta() - Method in class com.karmasphere.share.persist.PersistentContainer
Atomically increments the delta number of this container.
nextVersion() - Method in class com.karmasphere.share.persist.PersistentContainer
Atomically increments the version number of this container.

O

ObjectUtil - Class in com.karmasphere.share.util
 
ObjectUtil() - Constructor for class com.karmasphere.share.util.ObjectUtil
 
offset - Variable in class com.karmasphere.share.util.OffsetInputStream
Current offset
OffsetInputStream - Class in com.karmasphere.share.util
A simple InputStream derivative, which keeps track of the current offset.
OffsetInputStream(InputStream) - Constructor for class com.karmasphere.share.util.OffsetInputStream
Create a new OffsetInputStream
OffsetInputStream(InputStream, long) - Constructor for class com.karmasphere.share.util.OffsetInputStream
Create a new OffsetInputStream with a specified initial offset.
OPAQUE - Static variable in class com.karmasphere.share.persist.IdentityType
 
OpaqueIdentityType - Class in com.karmasphere.share.persist.idtype
 
OpaqueIdentityType() - Constructor for class com.karmasphere.share.persist.idtype.OpaqueIdentityType
 

P

PACKET_ID - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
parseId(String, int) - Static method in class com.karmasphere.client.bquery.Main
 
PatchableOutputStream - Class in com.karmasphere.share.util
 
PatchableOutputStream(int) - Constructor for class com.karmasphere.share.util.PatchableOutputStream
 
Persistent - Class in com.karmasphere.share.persist
A persistent object.
Persistent() - Constructor for class com.karmasphere.share.persist.Persistent
 
PersistentContainer<T extends PersistentRecord> - Class in com.karmasphere.share.persist
A persistent container.
PersistentContainer(String, int, int) - Constructor for class com.karmasphere.share.persist.PersistentContainer
 
PersistentRecord<C,K> - Class in com.karmasphere.share.persist
A persistent record.
PersistentRecord() - Constructor for class com.karmasphere.share.persist.PersistentRecord
 
prettyPrint(Map) - Static method in class com.karmasphere.client.bquery.Main
 
print(Throwable, PrintStream) - Static method in class com.karmasphere.share.util.ExceptionUtil
Prints the stack trace of a Throwable, with all causes.
print(Throwable) - Static method in class com.karmasphere.share.util.ExceptionUtil
Prints the stack trace of a Throwable, with all causes.

Q

Query - Class in com.karmasphere.client.common
 
Query() - Constructor for class com.karmasphere.client.common.Query
 
query(Name, int, ResponseCallback) - Method in class com.karmasphere.server.handler.share.DnsClient
Send a dns query, and send the response to c if/when it arrives.
QUERY_AUTH_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_AUTH_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_COMBINER_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_COMBINER_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_COMPOSITE_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_COMPOSITE_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_FEED_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_FEED_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_FLAG_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_FLAG_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_IDENTITY_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
QUERY_IDENTITY_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 

R

read() - Method in class com.karmasphere.share.util.OffsetInputStream
Read a byte from the stream.
read(byte[]) - Method in class com.karmasphere.share.util.OffsetInputStream
Read from the stream.
read(byte[], int, int) - Method in class com.karmasphere.share.util.OffsetInputStream
Read from the stream.
recv(Object) - Method in class com.karmasphere.client.bquery.BQueryClient
 
recv(Object) - Method in class com.karmasphere.client.common.Client
 
reload(byte[]) - Method in class com.karmasphere.share.util.ByteArrayInputBuffer
Reset this ByteArrayInputBuffer's buffer to the data provided
reset() - Method in class com.karmasphere.share.util.OffsetInputStream
Reset the stream to the last mark;
respond(SetResponse) - Method in interface com.karmasphere.server.handler.share.ResponseCallback
 
Response - Class in com.karmasphere.client.common
 
Response() - Constructor for class com.karmasphere.client.common.Response
 
RESPONSE_COMBINATION_DATA - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_COMBINATION_VALUE - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_COMBINATIONS_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_COMBINATIONS_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_ERROR - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_FACT_DATA - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_FACT_FEED - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_FACT_IDENTITY - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_FACT_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_FACT_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_FACT_VALUE - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_MESSAGE - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_TIME_LONG - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
RESPONSE_TIME_SHORT - Static variable in class com.karmasphere.share.constants.BQueryConstants
 
ResponseCallback - Interface in com.karmasphere.server.handler.share
 
reverse(byte[]) - Static method in class com.karmasphere.share.util.ArrayUtil
Reverses an array in-place.

S

scatter(Set<V>, Functor<V, Set<K>>) - Static method in class com.karmasphere.share.util.MapUtil
 
SCORE_RANGE - Static variable in class com.karmasphere.share.persist.Fact
 
send(Query) - Method in class com.karmasphere.client.bquery.BQueryClient
 
send(Query) - Method in class com.karmasphere.client.common.Client
 
set(int, byte) - Method in class com.karmasphere.share.util.PatchableOutputStream
 
setComposites(Set<String>) - Method in class com.karmasphere.client.common.Query
 
setData(String) - Method in class com.karmasphere.client.common.Combination
 
setData(String) - Method in class com.karmasphere.client.common.Fact
 
setData(String) - Method in class com.karmasphere.share.persist.Fact
 
setData(byte[]) - Method in class com.karmasphere.share.persist.Identity
 
setDefaultData(String) - Method in class com.karmasphere.share.persist.Feed
 
setDefaultValue(int) - Method in class com.karmasphere.share.persist.Feed
 
setDelta(int) - Method in class com.karmasphere.share.persist.PersistentContainer
Sets the delta number of this container.
setError(boolean) - Method in class com.karmasphere.client.common.Response
 
setFeed(String) - Method in class com.karmasphere.client.common.Fact
 
setFeed(Feed) - Method in class com.karmasphere.share.persist.Fact
 
setFeeds(Set<String>) - Method in class com.karmasphere.client.common.Query
 
setFlag(int) - Method in class com.karmasphere.client.common.Query
 
setFlags(int) - Method in class com.karmasphere.client.common.Query
 
setHandler(String) - Method in class com.karmasphere.share.persist.Feed
 
setHandlerArg(String) - Method in class com.karmasphere.share.persist.Feed
 
setId(Object) - Method in class com.karmasphere.client.common.Query
Sets the id of this query.
setId(Object) - Method in class com.karmasphere.client.common.Response
 
setIdentity(String) - Method in class com.karmasphere.client.common.Fact
 
setIdentity(Identity) - Method in class com.karmasphere.share.persist.Fact
 
setIdentityType(IdentityType) - Method in class com.karmasphere.share.persist.Feed
 
setIdentityType(IdentityType) - Method in class com.karmasphere.share.persist.Identity
 
setIdentityTypeId(int) - Method in class com.karmasphere.share.persist.Feed
 
setIdentityTypeId(int) - Method in class com.karmasphere.share.persist.Identity
 
setInstance(Debugger) - Static method in class com.karmasphere.share.util.Debugger
 
setKeyname(String) - Method in class com.karmasphere.share.persist.PersistentContainer
Sets the keyname of this container.
setMask(int) - Method in class com.karmasphere.share.persist.Identity
 
setMaxValue(int) - Method in class com.karmasphere.share.persist.Feed
 
setMessage(String) - Method in class com.karmasphere.client.common.Response
 
setMinValue(int) - Method in class com.karmasphere.share.persist.Feed
 
setName(String) - Method in class com.karmasphere.client.common.Combination
 
setPersistenceKey(Identity) - Method in class com.karmasphere.share.persist.Fact
 
setPersistenceKey(K) - Method in class com.karmasphere.share.persist.PersistentRecord
 
setQueryTime(long) - Method in class com.karmasphere.client.common.Response
 
setTimeout(int) - Method in class com.karmasphere.client.bquery.BQueryClient
Sets the socket timeout on the client socket.
setTtl(int) - Method in class com.karmasphere.share.persist.Feed
 
setValue(int) - Method in class com.karmasphere.client.common.Combination
 
setValue(int) - Method in class com.karmasphere.client.common.Fact
 
setValue(int) - Method in class com.karmasphere.share.persist.Fact
 
setVersion(int) - Method in class com.karmasphere.share.persist.PersistentContainer
Sets the version number of this container.
showUsage() - Static method in class com.karmasphere.client.bquery.Main
 
SimpleUrl - Class in com.karmasphere.share.util
 
SimpleUrl(String, String, String) - Constructor for class com.karmasphere.share.util.SimpleUrl
 
SimpleUrl(String) - Constructor for class com.karmasphere.share.util.SimpleUrl
Returns a canonical URL for the given data.
simplify(Object) - Method in class com.karmasphere.share.transform.BeanTransformer
 
skip(long) - Method in class com.karmasphere.share.util.OffsetInputStream
Skip some bytes.
SMTP_CLIENT_IP - Static variable in class com.karmasphere.share.constants.IdentityTags
 
SMTP_ENV_HELO - Static variable in class com.karmasphere.share.constants.IdentityTags
 
SMTP_ENV_MAIL_FROM - Static variable in class com.karmasphere.share.constants.IdentityTags
 
SMTP_ENV_RCPT_TO - Static variable in class com.karmasphere.share.constants.IdentityTags
 
SMTP_HEADER_FROM_ADDRESS - Static variable in class com.karmasphere.share.constants.IdentityTags
The address extracted from the 'From' header.

T

toHexString(byte[]) - Static method in class com.karmasphere.share.util.ArrayUtil
 
toString() - Method in class com.karmasphere.client.common.Combination
 
toString() - Method in class com.karmasphere.client.common.Fact
 
toString() - Method in class com.karmasphere.client.common.Response
 
toString() - Method in class com.karmasphere.share.persist.Combination
 
toString() - Method in class com.karmasphere.share.persist.Fact
 
toString() - Method in class com.karmasphere.share.persist.Identity
 
toString() - Method in class com.karmasphere.share.persist.IdentityType
Returns a human-readble summary of this identitytype.
toString(byte[]) - Method in class com.karmasphere.share.persist.IdentityType
Returns a human-readable version of the byte array associated with this identity type.
toString(byte[]) - Method in class com.karmasphere.share.persist.idtype.DomainIdentityType
 
toString(byte[]) - Method in class com.karmasphere.share.persist.idtype.EmailIdentityType
 
toString(byte[]) - Method in class com.karmasphere.share.persist.idtype.Ip4IdentityType
 
toString(byte[]) - Method in class com.karmasphere.share.persist.idtype.Ip6IdentityType
 
toString(byte[]) - Method in class com.karmasphere.share.persist.idtype.OpaqueIdentityType
 
toString(byte[]) - Method in class com.karmasphere.share.persist.idtype.UrlIdentityType
 
toString() - Method in class com.karmasphere.share.persist.Persistent
Returns a simple String representation of this Persistent.
toString() - Method in class com.karmasphere.share.persist.PersistentContainer
 
toString() - Method in class com.karmasphere.share.util.SimpleUrl
 
toStringDetails(StringBuilder) - Method in class com.karmasphere.share.persist.Combination
 
toStringDetails(StringBuilder) - Method in class com.karmasphere.share.persist.Feed
 
toStringDetails(StringBuilder) - Method in class com.karmasphere.share.persist.PersistentContainer
 
transform(BeanTransformer) - Method in class com.karmasphere.client.common.Id
 
transform(BeanTransformer) - Method in class com.karmasphere.client.common.Query
 
transform(BeanTransformer) - Method in class com.karmasphere.share.persist.Feed
 
transform(BeanTransformer) - Method in interface com.karmasphere.share.transform.Transformable
 
Transformable - Interface in com.karmasphere.share.transform
 
TransformException - Exception in com.karmasphere.share.transform
 
TransformException(String) - Constructor for exception com.karmasphere.share.transform.TransformException
 
TYPE - Static variable in class com.karmasphere.share.persist.Feed
 

U

URL - Static variable in class com.karmasphere.share.persist.IdentityType