@Override public Object structure(Object item) { final CollectionCacheEntry entry = (CollectionCacheEntry) item; return Arrays.asList( entry.getState() ); }
@Override @SuppressWarnings("unchecked") public Object structure(Object item) { final CollectionCacheEntry entry = (CollectionCacheEntry) item; final Serializable[] state = entry.getState(); final Map map = new HashMap( state.length ); int i = 0; while ( i < state.length ) { map.put( state[i++], state[i++] ); } return map; }
@Override public String toString() { return "CollectionCacheEntry" + ArrayHelper.toString( getState() ); }
for ( Serializable id : entry.getState() ) { EntityPersister entityPersister = ( (QueryableCollection) persister ).getElementPersister(); if ( session.getPersistenceContext().wasInsertedDuringTransaction( entityPersister, id ) ) {
@Override public Object structure(Object item) { final CollectionCacheEntry entry = (CollectionCacheEntry) item; return Arrays.asList( entry.getState() ); }
public Object structure(Object item) { CollectionCacheEntry entry = (CollectionCacheEntry) item; return Arrays.asList( entry.getState() ); }
public Object structure(Object item) { CollectionCacheEntry entry = (CollectionCacheEntry) item; return Arrays.asList( entry.getState() ); }
public Object structure(Object item) { CollectionCacheEntry entry = (CollectionCacheEntry) item; Serializable[] state = entry.getState(); Map map = new HashMap(state.length); for ( int i=0; i<state.length; ) { map.put( state[i++], state[i++] ); } return map; }
@Override @SuppressWarnings("unchecked") public Object structure(Object item) { final CollectionCacheEntry entry = (CollectionCacheEntry) item; final Serializable[] state = entry.getState(); final Map map = new HashMap( state.length ); int i = 0; while ( i < state.length ) { map.put( state[i++], state[i++] ); } return map; }
public Object structure(Object item) { CollectionCacheEntry entry = (CollectionCacheEntry) item; Serializable[] state = entry.getState(); Map map = new HashMap(state.length); for ( int i=0; i<state.length; ) { map.put( state[i++], state[i++] ); } return map; }
public String toString() { return "CollectionCacheEntry" + ArrayHelper.toString( getState() ); }
@Override public String toString() { return "CollectionCacheEntry" + ArrayHelper.toString( getState() ); }
public String toString() { return "CollectionCacheEntry" + ArrayHelper.toString( getState() ); }
CollectionCacheEntry collectionCacheEntry = (CollectionCacheEntry) cacheValue; LOGGER.debug("\nRegion: {},\nStatistics: {},\nEntries: {}", regionName, cacheRegionStatistics, collectionCacheEntry.getState());