A Unified Model for Real-time Data Grids Supporting Hierarchical Scheduling of Jobs and Data