public RemoteListCache getCache ( ) { RemoteRepositoryCache logCache = getLogResult ( ) == null ? null : getLogResult ( ) . getCache ( ) ; RemoteRepositoryCache traceCache = getTraceResult ( ) == null ? null : getTraceResult ( ) . getCache ( ) ; return switched ? new RemoteListCacheImpl ( traceCache , logCache ) : new RemoteListCacheImpl ( logCache , traceCache ) ; }
returns this result cache usable for remote transport