Providing Transaction Class-Based QoS in In-Memory Data Grids via Machine Learning