// about the last known point. For example, in case WF Large Store the cas must
// hold the entire EDATA frame, containing restart information. Its up to the
// CollectionReader to know what part of the CAS Metadata should be used for recovery.
// The "last cas" CasMetaData is added after each successfull read from the CollectionReader
// by the cpEngine in its run() processing loop.
CasMetaData casMetaData = (CasMetaData) perfReport.get("CPM_LAST_CAS_METADATA");
if (casMetaData != null) {
NameValuePair[] nvp = casMetaData.getCasMetaData();
StringBuffer sb = new StringBuffer();
for (int i = 0; i < nvp.length && nvp[i] != null; i++) {
if (i != 0) {
// Add separator between name-value pairs. StringTokenizer will parse this string
// and will use the separator to extract nvp.