Mercurial > hg > blitz_stable
view src/org/dancres/blitz/mangler/package.html @ 23:b7e52953b7a6
Add some cache/memory statistics to help spot potential exhaustion and other tuning issues.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Fri, 28 Aug 2009 17:23:33 +0100 |
parents | 3dc0c5604566 |
children |
line wrap: on
line source
<body> <P> Entry instances have certain properties which we do not wish to be handling in the storage engine (blitz.disk) such as loading of remote classes etc. At the same time, we wish to provide the storage engine with a means to compare such Entry instances for purposes of matching. </P> <P> This package converts an Entry to and from an object structure which hides the undesirable properties of an Entry (such as the need to load it's bytecode) from the rest of the blitz code. </P> <P> The object structure is, in fact, MangledEntry instances of which are created by EntryManglers and contain a field by field representation of the original Entry made up of MangledFields </P> <P> MangledEntry's can be compared with the match method providing the basic primitive required to perform matching of templates against Entry's </P> </body>