public static Person get(final long _id)
        throws EFapsException
    {
        final Cache<Long, Person> cache = InfinispanCache.get().<Long, Person>getCache(Person.IDCACHE);
        if (!cache.containsKey(_id)) {
            Person.getPersonFromDB(Person.SQL_ID, _id);
        }
        return cache.get(_id);
    }
public static Person get ( final long _id ) throws EFapsException { final Cache < Long , Person > cache = InfinispanCache . get ( ) . < Long , Person > getCache ( Person . IDCACHE ) ; if ( ! cache . containsKey ( _id ) ) { Person . getPersonFromDB ( Person . SQL_ID , _id ) ; } return cache . get ( _id ) ; }
Returns for given parameter <i>_id</i> the instance of class
{@link Person}.

@param _id id to search in the cache
@throws EFapsException on error
@return instance of class {@link Person}
@see #CACHE
@see #getFromDB