class ReadOnlyIndexReference extends IndexReference {

    @Override
    public void setStale()
    {
        throw new UnsupportedOperationException( "Read only indexes can't be marked as stale." );
    }

      ReadOnlyIndexReference( IndexIdentifier identifier, IndexSearcher searcher );

}