Package com.kaltura.client.services
Class ServerNodeService
- java.lang.Object
-
- com.kaltura.client.services.ServerNodeService
-
public class ServerNodeService extends Object
Server Node service
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerNodeService.AddServerNodeBuilderstatic classServerNodeService.DeleteServerNodeBuilderstatic classServerNodeService.DisableServerNodeBuilderstatic classServerNodeService.EnableServerNodeBuilderstatic classServerNodeService.GetFullPathServerNodeBuilderstatic classServerNodeService.GetServerNodeBuilderstatic classServerNodeService.ListServerNodeBuilderstatic classServerNodeService.MarkOfflineServerNodeBuilderstatic classServerNodeService.ReportStatusServerNodeBuilderstatic classServerNodeService.UpdateServerNodeBuilder
-
Constructor Summary
Constructors Constructor Description ServerNodeService()
-
Method Summary
-
-
-
Method Detail
-
add
public static ServerNodeService.AddServerNodeBuilder add(ServerNode serverNode)
Adds a server node to the Kaltura DB.- Parameters:
serverNode-
-
delete
public static ServerNodeService.DeleteServerNodeBuilder delete(String serverNodeId)
delete server node by id- Parameters:
serverNodeId-
-
disable
public static ServerNodeService.DisableServerNodeBuilder disable(String serverNodeId)
Disable server node by id- Parameters:
serverNodeId-
-
enable
public static ServerNodeService.EnableServerNodeBuilder enable(String serverNodeId)
Enable server node by id- Parameters:
serverNodeId-
-
get
public static ServerNodeService.GetServerNodeBuilder get(int serverNodeId)
Get server node by id- Parameters:
serverNodeId-
-
getFullPath
public static ServerNodeService.GetFullPathServerNodeBuilder getFullPath(String hostName)
-
getFullPath
public static ServerNodeService.GetFullPathServerNodeBuilder getFullPath(String hostName, String protocol)
-
getFullPath
public static ServerNodeService.GetFullPathServerNodeBuilder getFullPath(String hostName, String protocol, String deliveryFormat)
-
getFullPath
public static ServerNodeService.GetFullPathServerNodeBuilder getFullPath(String hostName, String protocol, String deliveryFormat, String deliveryType)
Get the edge server node full path- Parameters:
hostName-protocol-deliveryFormat-deliveryType-
-
list
public static ServerNodeService.ListServerNodeBuilder list()
-
list
public static ServerNodeService.ListServerNodeBuilder list(ServerNodeFilter filter)
-
list
public static ServerNodeService.ListServerNodeBuilder list(ServerNodeFilter filter, FilterPager pager)
-
markOffline
public static ServerNodeService.MarkOfflineServerNodeBuilder markOffline(String serverNodeId)
Mark server node offline- Parameters:
serverNodeId-
-
reportStatus
public static ServerNodeService.ReportStatusServerNodeBuilder reportStatus(String hostName)
-
reportStatus
public static ServerNodeService.ReportStatusServerNodeBuilder reportStatus(String hostName, ServerNode serverNode)
-
reportStatus
public static ServerNodeService.ReportStatusServerNodeBuilder reportStatus(String hostName, ServerNode serverNode, ServerNodeStatus serverNodeStatus)
Update server node status- Parameters:
hostName-serverNode-serverNodeStatus-
-
update
public static ServerNodeService.UpdateServerNodeBuilder update(int serverNodeId, ServerNode serverNode)
Update server node by id- Parameters:
serverNodeId-serverNode- Id
-
-