public interface JpaAgentConnectionRepository
| Modifier and Type | Method and Description |
|---|---|
long |
countByServerHostnameEquals(@NotBlank java.lang.String serverHostName)
Find the number of agents currently connected to the given server identified by
serverHostName. |
java.util.Optional<AgentConnectionEntity> |
findByJobId(@NotBlank java.lang.String jobId)
Find entity by jobId.
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlushfindAllcount, delete, deleteAll, deleteAll, deleteById, existsById, findById, savejava.util.Optional<AgentConnectionEntity> findByJobId(@NotBlank @NotBlank java.lang.String jobId)
jobId - job idlong countByServerHostnameEquals(@NotBlank
@NotBlank java.lang.String serverHostName)
serverHostName.serverHostName - The hostname of the server to get the number of connections for