db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "Derby3192Writeup" by DyreTjeldvoll
Date Tue, 19 Feb 2008 16:44:00 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DyreTjeldvoll:
http://wiki.apache.org/db-derby/Derby3192Writeup

------------------------------------------------------------------------------
  
  As mentioned in a previous section, the client starts with and "empty" cache where the cached
session attributes have been initialized to illegal values. Any attempt to access such an
illegal value is trapped an causes the client to fall back to sending a query to the server.
  
- Whenever session data arrives piggy-backed on a message, `parsePBSD()` gets called, and
will extract the modified session data and store them in an Object array. Each session data
attribute has its own index in the array. The array slot for attributes that have not changed
is null. It then invokes `ConnectionCallbackIinterface.completePiggyBackSessionData(Object[])`
which is implemented by `am.Connection`. This callback then updates the cached session data
inside the `am.Connection` object.
+ Whenever session data arrives piggy-backed on a message, `parsePBSD()` gets called, and
will extract the modified session data and call `ConnectionCallbackIinterface.completePiggyBackIsolation(int)`
or `ConnectionCallbackIinterface.completePiggyBackSchema(String)` as appropriate to update
the cached session data inside the `am.Connection` object.
  
  
  [[Anchor(XA)]]

Mime
View raw message