|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectProfile
org.eclipse.soda.dk.rfid.base.profile.RfidBaseProfile
public abstract class RfidBaseProfile
| Field Summary | |
|---|---|
protected java.util.Map |
cachedTags
Define the cached tags (RfidMap) field. |
protected ScriptService |
confidenceScriptService
Define the confidence script service (ScriptService) field. |
static char[] |
EPC_RAW
Define the epc raw (char[]) constant. |
protected java.util.Hashtable |
ldapMap
Define the LDAP map (Dictionary) field. |
static int |
LEVEL_ANTENNA
Define the level antenna (int) constant. |
static int |
LEVEL_READER
Define the level reader (int) constant. |
static int |
LEVEL_REPORT
Define the level report (int) constant. |
static int |
LEVEL_TOP
Define the level top (int) constant. |
static int |
REPORT_LEVEL_ANTENNAS
Define the report level antennas (int) constant. |
static int |
REPORT_LEVEL_DEFAULT
Define the report level default (int) constant. |
static int |
REPORT_LEVEL_LOW
Define the report level minimum (int) constant. |
static int |
REPORT_LEVEL_MAXIMUM
Define the report level maximum (int) constant. |
static int |
REPORT_LEVEL_MINIMUM
Define the report level minimum (int) constant. |
static int |
REPORT_LEVEL_NORMAL
Define the report level normal (int) constant. |
static int |
REPORT_LEVEL_READERS
Define the report level readers (int) constant. |
static int |
REPORT_LEVEL_REPORTS
Define the report level reports (int) constant. |
static int |
REPORT_LEVEL_SUMMARY
Define the report level summary (int) constant. |
protected int |
reportLevelValue
Define the report level value (int) field. |
static java.lang.Number |
StandardScoreDefault
Define the standard score default (Number) constant. |
protected java.util.Map |
superCache
Define the global super cache (Map) field. |
| Constructor Summary | |
|---|---|
protected |
RfidBaseProfile()
Constructs an instance of this class. |
protected |
RfidBaseProfile(java.lang.String capabilities,
java.lang.String status,
java.lang.String configuration,
java.lang.String metrics)
Constructs an instance of this class from the specified capabilities, status, configuration and metrics parameters. |
protected |
RfidBaseProfile(java.lang.String capabilities,
java.lang.String status,
java.lang.String configuration,
java.lang.String metrics,
java.lang.String channels,
java.lang.String channelChanged,
java.lang.String openChannel,
java.lang.String closeChannel)
Constructs an instance of this class from the specified capabilities, status, configuration, metrics, channels, channel changed, open channel and close channel parameters. |
| Method Summary | |
|---|---|
protected void |
addTagToCache(java.lang.String key,
java.util.Map reads,
java.util.Map cache)
Add tag to cache with the specified key, reads and cache parameters. |
static java.util.Map |
buildSummary(java.util.Map tags)
Build summary with the specified tags parameter and return the Map result. |
protected void |
checkSuperCache()
Check super cache. |
static int |
computeAntennaFactor(java.util.Map antennasMap)
Compute antenna factor with the specified antennas map parameter and return the int result. |
static java.lang.Number |
computeAverageRssi(int[] values,
long count)
Compute average RSSI with the specified values and count parameters and return the Number result. |
static java.lang.Number |
computeMedianRssi(int[] values,
long count)
Compute median RSSI with the specified values and count parameters and return the Number result. |
static java.lang.Number |
computeStandardDeviationRssi(int[] values,
long count,
double average)
Compute standard deviation RSSI with the specified values, count and average parameters and return the Number result. |
protected Filter |
createLdapFilter(java.lang.String filterString)
Create LDAP filter with the specified filter string parameter and return the Filter result. |
void |
flushTagCache()
Flush tag cache. |
ScriptService |
getConfidenceScriptService()
Gets the confidence script service (ScriptService) value. |
java.lang.String |
getReaderId()
Gets the reader ID (String) value. |
abstract MeasurementService |
getReportLevel()
Gets the report level (MeasurementService) value. |
int |
getReportLevelValue()
Gets the tag antenna report level (int) value. |
static java.lang.Number |
getStandardScoreDefault()
Gets the standard score default (Number) value. |
java.util.Map |
getSuperCache()
Gets the global super cache (Map) value. |
abstract MeasurementService |
getSuperCacheMaximumSize()
Gets the super cache maximum size (MeasurementService) value. |
int |
getSuperCacheMaximumSizeValue()
Gets the super cache maximum size value (int) value. |
void |
improveReportMapConstaints(java.lang.String key,
java.util.Map reads,
java.lang.Object timestamp,
int tagAntennaReportLevelValue)
Improve report map constraints with the specified key, reads and timestamp parameters. |
static java.lang.String[] |
parseDelimitedByToken(java.lang.String target,
java.lang.String delimiter)
Parse delimited by token with the specified target and delimiter parameters and return the String[] result. |
static byte[] |
parseHexSpaceDelimited(java.lang.String spaceDelimitedHex)
Parse hex space delimited with the specified space delimited hex parameter and return the byte[] result. |
static InterestMasks |
parseInterestMasks(java.lang.String targetTagConfig)
Parse interest masks with the specified target tag configuration parameter and return the InterestMasks result. |
void |
setConfidenceScriptService(ScriptService confidenceScriptService)
Sets the confidence script service value. |
void |
setReportLevelValue(int reportLevelValue)
Sets the report level value value. |
void |
setSuperCache(java.util.Map globalSuperCache)
Sets the global super cache value. |
static byte[] |
toBytes(java.lang.String string)
To bytes with the specified string parameter and return the byte[] result. |
static void |
updateFieldTotal(java.util.Map targetMap,
java.util.Map reads,
java.lang.String fieldName,
java.lang.Object fieldValue)
Update field total with the specified target map, reads, field name and field value parameters. |
long |
updateMap(java.util.Map targetMap,
java.util.Map sourceMap,
int antenna,
int level)
Update map with the specified target map, reads, antenna and level parameters and return the long result. |
java.util.Map |
updateSuperCache(java.util.Map tagMap)
Update global super cache with the specified tag map parameter and return the Map result. |
void |
updateTagInCache(java.lang.String key,
java.util.Map reads,
java.util.Map cache,
java.lang.Object timestamp)
Update tag in cache with the specified key, reads, cache and timestamp parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int REPORT_LEVEL_MINIMUM
public static final int LEVEL_REPORT
public static final int REPORT_LEVEL_REPORTS
public static final java.lang.Number StandardScoreDefault
public static final int REPORT_LEVEL_LOW
public static final char[] EPC_RAW
public static final int REPORT_LEVEL_MAXIMUM
public static final int REPORT_LEVEL_READERS
public static final int REPORT_LEVEL_NORMAL
public static final int REPORT_LEVEL_ANTENNAS
public static final int REPORT_LEVEL_DEFAULT
public static final int REPORT_LEVEL_SUMMARY
public static final int LEVEL_TOP
public static final int LEVEL_READER
public static final int LEVEL_ANTENNA
protected ScriptService confidenceScriptService
protected int reportLevelValue
protected java.util.Map cachedTags
protected java.util.Map superCache
protected java.util.Hashtable ldapMap
| Constructor Detail |
|---|
protected RfidBaseProfile()
RfidBaseProfile(String,String,String,String),
RfidBaseProfile(String,String,String,String,String,String,String,String)
protected RfidBaseProfile(java.lang.String capabilities,
java.lang.String status,
java.lang.String configuration,
java.lang.String metrics)
capabilities - The capabilities (String) parameter.status - The status (String) parameter.configuration - The configuration (String) parameter.metrics - The metrics (String) parameter.RfidBaseProfile(),
RfidBaseProfile(String,String,String,String,String,String,String,String)
protected RfidBaseProfile(java.lang.String capabilities,
java.lang.String status,
java.lang.String configuration,
java.lang.String metrics,
java.lang.String channels,
java.lang.String channelChanged,
java.lang.String openChannel,
java.lang.String closeChannel)
capabilities - The capabilities (String) parameter.status - The status (String) parameter.configuration - The configuration (String) parameter.metrics - The metrics (String) parameter.channels - The channels (String) parameter.channelChanged - The channel changed (String) parameter.openChannel - The open channel (String) parameter.closeChannel - The close channel (String) parameter.RfidBaseProfile(),
RfidBaseProfile(String,String,String,String)| Method Detail |
|---|
public static java.util.Map buildSummary(java.util.Map tags)
tags - The tags (Map) parameter.
Map) value.public static int computeAntennaFactor(java.util.Map antennasMap)
antennasMap - The antennas map (Map) parameter.
int) value.
public static java.lang.Number computeAverageRssi(int[] values,
long count)
values - The values (int[]) parameter.count - The count (long) parameter.
Number) value.
public static java.lang.Number computeMedianRssi(int[] values,
long count)
values - The values (int[]) parameter.count - The count (long) parameter.
Number) value.
public static java.lang.Number computeStandardDeviationRssi(int[] values,
long count,
double average)
values - The values (int[]) parameter.count - The count (long) parameter.average - The average (double) parameter.
Number) value.public static java.lang.Number getStandardScoreDefault()
Number) value.
public static java.lang.String[] parseDelimitedByToken(java.lang.String target,
java.lang.String delimiter)
target - The target (String) parameter.delimiter - The delimiter (String) parameter.
String[]) value. The target (String) parameter. The delimiter (String) parameter.public static byte[] parseHexSpaceDelimited(java.lang.String spaceDelimitedHex)
spaceDelimitedHex - The space delimited hex (String) parameter.
byte[]) value.public static InterestMasks parseInterestMasks(java.lang.String targetTagConfig)
targetTagConfig - The target tag configuration (String) parameter.
InterestMasks) value. The target tag configuration (String) parameter.
public static byte[] toBytes(java.lang.String string)
throws java.lang.RuntimeException
string - The string (String) parameter.
byte[]) value. Runtime Exception.
java.lang.RuntimeException - Runtime Exception.
public static void updateFieldTotal(java.util.Map targetMap,
java.util.Map reads,
java.lang.String fieldName,
java.lang.Object fieldValue)
targetMap - The target map (Map) parameter.reads - The reads (Map) parameter.fieldName - The field name (String) parameter.fieldValue - The field value (Object) parameter.
protected void addTagToCache(java.lang.String key,
java.util.Map reads,
java.util.Map cache)
key - The key (String) parameter.reads - The reads (Map) parameter.cache - The cache (Map) parameter.protected void checkSuperCache()
getSuperCache(),
setSuperCache(Map),
updateSuperCache(Map)
protected Filter createLdapFilter(java.lang.String filterString)
throws InvalidSyntaxException
filterString - The filter string (String) parameter.
Filter) value. Invalid Syntax Exception.
InvalidSyntaxException - Invalid Syntax Exception.public void flushTagCache()
public ScriptService getConfidenceScriptService()
ScriptService) value.setConfidenceScriptService(ScriptService)public java.lang.String getReaderId()
String) value.public abstract MeasurementService getReportLevel()
MeasurementService) value.public int getReportLevelValue()
int) value.setReportLevelValue(int)public java.util.Map getSuperCache()
Map) value.checkSuperCache(),
setSuperCache(Map),
updateSuperCache(Map)public abstract MeasurementService getSuperCacheMaximumSize()
MeasurementService) value.public int getSuperCacheMaximumSizeValue()
int) value.
public void improveReportMapConstaints(java.lang.String key,
java.util.Map reads,
java.lang.Object timestamp,
int tagAntennaReportLevelValue)
key - The key (String) parameter.reads - The reads (Map) parameter.timestamp - The time stamp (Object) parameter.tagAntennaReportLevelValue - The tag antenna report level value (int) parameter.public void setConfidenceScriptService(ScriptService confidenceScriptService)
confidenceScriptService - The confidence script service (ScriptService) parameter.getConfidenceScriptService()public void setReportLevelValue(int reportLevelValue)
reportLevelValue - The report level value (int) parameter.getReportLevelValue()public void setSuperCache(java.util.Map globalSuperCache)
globalSuperCache - The global super cache (Map) parameter.checkSuperCache(),
getSuperCache(),
updateSuperCache(Map)
public long updateMap(java.util.Map targetMap,
java.util.Map sourceMap,
int antenna,
int level)
targetMap - The target map (Map) parameter.sourceMap - The source map (Map) parameter.antenna - The antenna (int) parameter.level - The level (int) parameter.
long) value.public java.util.Map updateSuperCache(java.util.Map tagMap)
tagMap - The tag map (Map) parameter.
Map) value.checkSuperCache(),
getSuperCache(),
setSuperCache(Map)
public void updateTagInCache(java.lang.String key,
java.util.Map reads,
java.util.Map cache,
java.lang.Object timestamp)
key - The key (String) parameter.reads - The reads (Map) parameter.cache - The cache (Map) parameter.timestamp - The time stamp (Object) parameter.
|
2010-01-26 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||