|
Oracle Personalization REAPI_RT v9.0.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dmt.op.re.reapi.rt.DataCollectionCache
Dynamic Data Store is shared by all data collection APIs. It stores the collected object in cache and archives the data periodically or when the cache is full.
Constructor Summary |
DataCollectionCache(REProxyRT proxy)
|
Method Summary |
Type | Method |
---|---|
void |
addItem(IdentificationData idd,
DataItem item)
Adds the specified item to the profile of the user or the session specified by idData . |
void |
addItems(IdentificationData idd,
DataItem[] items)
Adds one or more items to the profile of the user or the session specified by idData . |
void |
archive()
Flushes cached item data in the main buffer to the database. |
void |
close()
|
static int |
kbyes2NItems(int kb)
Converts Kbytes to array size. |
void |
removeItem(IdentificationData idData,
DataItem item)
Removes the item from the specified session or from the profile of the specified user. |
void |
removeItems(IdentificationData idData,
DataItem[] items)
Removes the items from the specified session or from the profile of the specified user. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode,
notify, notifyAll, toString,
wait, wait, wait |
Constructor Detail |
public DataCollectionCache(REProxyRT proxy) throws OutOfMemoryError, BadDBConnectionException, SQLException
Method Detail |
public static int kbyes2NItems(int kb)
public void archive()
public void addItem(IdentificationData idd, DataItem item) throws BufferIsFullException
idData
. Item
specifies the data source type,
item type, item ID, and value of the item.public void addItems(IdentificationData idd, DataItem[] items) throws BufferIsFullException
idData
. Item[i]
specifies the data source
type, item type, item ID, and value of the ith item. The items are
stored in an array.public void removeItem(IdentificationData idData, DataItem item)
This method cannot be used to remove an item from a user profile that has been written to permanent storage.
If a specified item is not in the user's profile, OP does nothing.
public void removeItems(IdentificationData idData, DataItem[] items)
Cannot be used to remove items from a user profile that have been written to permanent storage.
If a specified item is not in the user's profile, OP does nothing.
public void close()
|
Oracle Personalization REAPI_RT v9.0.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |