
com.bazaarvoice.ostrich.pool.ServiceHandle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ostrich-core Show documentation
Show all versions of ostrich-core Show documentation
Core classes that form Ostrich
package com.bazaarvoice.ostrich.pool;
import com.bazaarvoice.ostrich.ServiceEndPoint;
import static com.google.common.base.Preconditions.checkNotNull;
class ServiceHandle {
private final S _service;
private final ServiceEndPoint _endPoint;
public ServiceHandle(S service, ServiceEndPoint endPoint) {
_service = checkNotNull(service);
_endPoint = checkNotNull(endPoint);
}
public S getService() {
return _service;
}
public ServiceEndPoint getEndPoint() {
return _endPoint;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy