Hibernate ORM Region - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM Region class.

This code example shows how to use the following methods: getElementCountInMemory, getElementCountOnDisk, getSizeInMemory
	public long getPutCount() { 
		return putCount.get();
	} 
 
	public long getElementCountInMemory() { 
		return region.getElementCountInMemory();
	} 
 
	public long getElementCountOnDisk() { 
		return region.getElementCountOnDisk();
	} 
 
	public long getSizeInMemory() { 
		return region.getSizeInMemory();
	} 
 
	public Map getEntries() {
		Map map = new HashMap();
		Iterator iter = region.toMap().entrySet().iterator();
		while (iter.hasNext()) {
Full Snippet Info
6
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: contains, put
	/** 
	 * {@inheritDoc} 
	 */ 
	public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride) 
			throws CacheException { 
		if ( minimalPutOverride && region.contains( key ) ) { 
			return false; 
		} 
		else { 
			region.put( key, value ); 
			return true; 
		} 
	} 
 
	/** 
	 * Since this is a non-strict read/write strategy item locking is not used. 
	 */ 
	public SoftLock lockItem(Object key, Object version) throws CacheException { 
		return null; 
	} 
Full Snippet Info
5
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: getName
	private AtomicLong sessionCloseCount = new AtomicLong(); 
	private AtomicLong flushCount = new AtomicLong(); 
	private AtomicLong connectCount = new AtomicLong(); 
 
	private AtomicLong prepareStatementCount = new AtomicLong(); 
	private AtomicLong closeStatementCount = new AtomicLong(); 
 
	private AtomicLong entityLoadCount = new AtomicLong(); 
	private AtomicLong entityUpdateCount = new AtomicLong(); 
	private AtomicLong entityInsertCount = new AtomicLong(); 
	private AtomicLong entityDeleteCount = new AtomicLong(); 
	private AtomicLong entityFetchCount = new AtomicLong(); 
	private AtomicLong collectionLoadCount = new AtomicLong(); 
	private AtomicLong collectionUpdateCount = new AtomicLong(); 
	private AtomicLong collectionRemoveCount = new AtomicLong(); 
	private AtomicLong collectionRecreateCount = new AtomicLong(); 
	private AtomicLong collectionFetchCount = new AtomicLong(); 
 
	private AtomicLong secondLevelCacheHitCount = new AtomicLong(); 
	private AtomicLong secondLevelCacheMissCount = new AtomicLong(); 
Full Snippet Info
3
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
See Code Examples for Hibernate ORM Region Methods: